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

Repaint vs Rebind

3 Answers 71 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 28 Jan 2014, 04:25 PM
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 

3 Answers, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 31 Jan 2014, 02:05 PM
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.
0
Niels
Top achievements
Rank 1
answered on 07 Oct 2014, 02:31 PM
Is there a way to refresh resources of RadScheduler on client side?
0
Boyan Dimitrov
Telerik team
answered on 09 Oct 2014, 02:12 PM
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.

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