ASP.net weekly schedule control - asp.net

Can anyone recommend a free asp.net control that I can use for the following:
Weekdays Monday-Saturday along the top row
Time of day along left hand side
Template fields for the actual data
Databindable
Cells span the rows based on the start time and end time
Here is a control that I found that is pretty good, but I am trying to find alternatives:
Databound Schedule controls

DayPilot is a pretty good general purpose calendaring/schedule control.
The full version is not free, but there is a "lite" version available which is not only free but open source!

Related

How to set up a Phone 8.1 pivot with an infinite number of pivotitems using caliburn micro?

I am working on a Phone 8.1 Universal app using the excellent framework caliburn micro 2.0. The application is rather simple, it will show statistics fetched from a WCF service and this information will be filtered by year and month. So I figured the best way to do this is to use the same approach as the Phone 8 native calendar app, which uses the pivot for scrolling each month, and when scrolling from december to january, the year is increased by 1.
I have tried several approaches by following tutorials on how to set this up, but I am totally confused. Every single example suggests that I should set the PivotPage as a Conductor, and then every single pivotItem as a screen, and then when activating the conductor, add every single viewmodel(1 for each pivotitem) in an Items list. That sounds reasonable, when there is a finite number of pivotitems and when the mapping between pivotitem and pivotheader is 1:1. But in my case I have ONE pivotItem that is supposed to be reloaded(disposed/created) every time the user changes pivot, and the data is not filtered by the header itself but rather on a DateTime property in my viewmodel that has the currently selected Year and Month which is used to fetch data from the backend. Not exactly what all the caliburn micro pivot tutorials are about.
So, can anyone guide me on how to design this the "caliburn micro way"...? I have tried something by adding a pivot.itemtemplate and then refresh this by hooking up to the selectionchanged event on the pivot, but this has some rather nasty sideeffects, like when I change the pivot, the previous pivot is not disposed of correctly, causing the visual tree for the app to increase by 30% for each pivot change. I have no idea why it is like that, but it tells me that I should do this 100% caliburn micro instead.
I have a very simple example that I can share if anyone wants to have a go at this, depending on how simple the solution is?
Please help!
/Henrik

ASP.NET VB Changes in Stocks Prices Prompt

I'd like to ask about the way in ASP.NET VB to detect the changes in stocks prices, if the price inceased, the containing cell inside the grid blinks in green, decreased will blinks in red?
ex: if the price now 10.00$ and increased to 10.01$ the containing cell will blink with 1 second in green..!! Many thanks guys in advance.
Ideally, you would want to have a JSON/XML feed that provides the necessary stock symbols, the current trading price, and the time of the last update which is then loaded via AJAX in the background every 'X' seconds. You would capture the previous price and the new price and compare the two.
jQuery/Javascript provides a lot of transitions to help improve the UI on an app such as you described and also has a pretty easy-to-use implementaton of AJAX, via $.ajax().

Dynamic Data Web Site is unusable due to slowness

I have created a small "Dynamic Data Web Site" using the Entity Framework. I've no experience with this really, but it looks very interesting. Anyway, I have a single table being displayed on a single web page. The table contains over 21000 rows and the page limits me to 10 records per page, which is all fine.
My problem is that the page is incredibly slow. I'm guessing that maybe every row in the table is being loaded whenever I try to navigate, but I can't be sure this is the cause.
How can I increase the performance of the page? I want to be able to click through pages of results quickly and easily. It currently takes more than 60 seconds to click to the next set of results.
this is usually caused by filters on a table where the filter has MANY rows you could fix this using the Autocomplete filter which prefilters the data base what the user types in.
You can get this filter and other from ny NuGet package Dynamic Data Custom Filters
Also try having a look in it using Ayende's EFProf. It is a commercial product but it has a free 30 day trial. I can sometimes point out silly things you are doing and suggest some ways to optimise your data access

How can I implement an outlook-like calendar in ASP.NET that chooses a start and end date in one control?

I have a page where I am trying to mimic some of outlook's calendar functionality. I'd like to have a calendar control where the user can click a start and end date, maybe even by clicking-and-dragging. I like the single control because it feels like it will look better and the user will feel a little more comfortable selecting dates. I don't necessarily need to pick multiple individual, non-consecutive dates... just a start and end date.
Telerik Rad Calendar

ASP.NET Consolidated Report

We have an ASP.NET 2 application and at the moment for the reporting, we are utilising DataSet/DataTable taking some storedprocedure/query and display on the screen (grids). For the graphics, we are using Dundas Chart component and again we are utilising DataSet/DataTable to display it. These thing has been running well ... no issue.
Now, we are having a challenge that every single report that we produce above (grid or graph), the user wants to consolidate into 1 single click solution which means if they click the "Consolidated Report" it will produce the page as well (grid/graph) into 1 page. But the issue is that the user wants use the display (grid/graph) and download into 1 file. It could Ms Words/Ms Excell.
How we are going to achieve this?
I am thinking to do as follow:
1. Convert everything to use the Reporting Services (client) .. or
2. Is it possible to do like convert the page/grapf into Word/Excel into a single page? Is there any other solution?
The issue is that the we have simple stored procedures to get the data source out and then we are using that data and do the massive data manipulation in DataSet/DataTable (loop through the records, create a new dataset and manipulate etc etc) and then to construct the final report and display on the screen.
I am appreciated your comment.
Thank you
In my opinion the best solution will be integrating the HTML into a PDF.
You can convert the HTML generated into PDF easily with ABCPdf from WebSuperGoo (I suspect that other solutions can work, but I have only used this product)
See this live demo, and select "Add URL" and point to your URL or check out this example

Resources