This is a migrated thread and some comments may be shown as answers.

Client-side Scheduler Proposal

3 Answers 62 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 07 Dec 2010, 08:13 AM
Hi there, 

I am wondering if something is possible with the Scheduler. I have thought about it myself and I am fairly sure of where to start and that it is indeed possible, but I am hoping others can confirm and share their experiences with doing something similar, or point out troubles I am likely to run in to.

I would like to use the Scheduler totally client-side, storing all appointment information on the client, and allowing the user to save changes by clicking a "Save" button. Only then will the changes be sent to the server, processed and database updated etc. I am reasonably familiar with the client-side javascript API, and can imagine storing appointment data client-side (hidden fields and/or cookies), or perhaps using AJAX calls to transmit data each time a change is made for batch processing later, but if someone can share their thoughts on this it would be greatly appreciated.

Is this possible?

Thanks,
Ryan.

3 Answers, 1 is accepted

Sort by
0
Nikolay Tsenkov
Telerik team
answered on 09 Dec 2010, 06:57 PM
Hello Chris,

This is an interesting idea. And we have thought about such a functionality for several times.

But I think this can be easily achieved with the webService binding and store the data in intermediate source (some XML for example). Then on this "click on Save button" you will postback and update your main source.

What about such an implementation?

And it even has a benefit - the client data is stored on the server, and if you accidentally close the browser for example you will not loos whatever state you created.


Regards,
Nikolay Tsenkov
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Chris
Top achievements
Rank 1
answered on 10 Dec 2010, 01:26 AM
Hi Nikolay,

Thanks for your response, this sounds like a good way to go.
I will have a look at how to implement web service binding. Is the performance boost significant? As we have had performance issues with the scheduler in the past, specifically a page that uses two RadGrids and a RadScheduler, allowing the user to drag and drop appointments between the grids and scheduler. This page can take a rather long time to update (all done via AJAX) - can we hope to improve this much using web service binding?
0
Nikolay Tsenkov
Telerik team
answered on 15 Dec 2010, 01:25 PM
Hello Chris,

This definitely will improve the performance. Using the webService binding, the Scheduler is not recreated each time a server-side handled event occurs. Rather it just sends the changes to the webService. This way you save time from not recreating not only the Scheduler but everything that is on this page, too.


Regards,
Nikolay Tsenkov
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Scheduler
Asked by
Chris
Top achievements
Rank 1
Answers by
Nikolay Tsenkov
Telerik team
Chris
Top achievements
Rank 1
Share this question
or