Repaint vs Rebind

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

    Posted 28 Jan 2014 Link to this post

    Hi,

    I was trying to find the differences between repaint and rebind  client side function of radschedudler. I have a webservice bound scheduler and would like to refresh radscheduler to show latest resources(technicians and their appointments). Technician Timeslots  and appointments are color coded based on some attributes.


    Rebind fxn only updated the appointments but did not refresh scheduler timeslots.Repaint was helpful in refreshing the technician schedules showing latest color code. Is repaint  fxn alone enough to achieve both objectives? Can someone  point me to detail definition of  these client side functions?

    Thanks,
    Prava 

  2. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    1746 posts

    Posted 31 Jan 2014 Link to this post

    Hello Prava,

    I would like to clarify that rebind function does only retrieve the appointments without recreating the RadScheduler elements (does not refresh the time slots as well). It just initiate a call in order to load the appointments and add them to the RadScheduler client object and as DOM elements so they will be visible to the user.

    The repaint functionality does adjust the RadScheduler content ( time slots, appointments DOM elements, headers) , applying scroll bars and adjust any css styles. I would like to clarify that  repaint method could not achieve both described objectives since it does not reload the appointments data.


    Regards,
    Boyan Dimitrov
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Niels
    Niels avatar
    3 posts
    Member since:
    Dec 2009

    Posted 07 Oct 2014 in reply to Boyan Dimitrov Link to this post

    Is there a way to refresh resources of RadScheduler on client side?
  5. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    1746 posts

    Posted 09 Oct 2014 Link to this post

    Hello,

    Refreshing resources of RadScheduler on client side is not supported scenario. Here you can find a similar feature request in our public portal. You can vote for it or track its progress.

    Regards,
    Boyan Dimitrov
    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.

     
Back to Top