Webservice bound scheduler doesnot persist client side changes

2 posts, 0 answers
  1. Prava kafle
    Prava kafle avatar
    212 posts
    Member since:
    Apr 2010

    Posted 04 Nov 2014 Link to this post

    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
  2. Bozhidar
    Admin
    Bozhidar avatar
    1103 posts

    Posted 06 Nov 2014 Link to this post

    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.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top