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

Webservice bound scheduler doesnot persist client side changes

1 Answer 47 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Prava kafle
Top achievements
Rank 1
Prava kafle asked on 04 Nov 2014, 03:18 PM
Hi,
I have a web service bound scheduler which is tied to other .NET controls like Radgrid and timer  through ajax settings. I have a .net timer that refreshes scheduler and radgrid at an interval of 30 seconds. Scheduler works fine by itself but  it looses it's client state  after  asynchronous post-back by autorefresh.

For instance, my scheduler is in timeline view and on page load it shows current date and time, I click on calender control and select a date for December 15 2014, scheduler is rendered for Dec15 2014. However after timer refresh, scheduler defaults back to today's date and time.

Is it possible to persist client side changes on Radscheduler ?


Thanks,
Prava

1 Answer, 1 is accepted

Sort by
0
Bozhidar
Telerik team
answered on 06 Nov 2014, 07:36 AM
Hello,

This is expected, since in WebService binding all changes and state of the Scheduler are stored on the client. In order to implement your requirement you will have to manually store the properties which you want to preserve (for instance selected view, selected date), and upon loading of the Scheduler preset them using the Client API. You can find the whole Scheduler API in the following help article:
http://www.telerik.com/help/aspnet-ajax/scheduler-object.html

Regards,
Bozhidar
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Scheduler
Asked by
Prava kafle
Top achievements
Rank 1
Answers by
Bozhidar
Telerik team
Share this question
or