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

Calling rebind() in javascript does not raise OnClientAppointmentsPopulating

1 Answer 104 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Joe Buckle
Top achievements
Rank 1
Joe Buckle asked on 30 Apr 2010, 01:26 AM
Good day!

I'm trying to refresh a scheduler every 5 minutes on the client-side by calling the rebind() method. But I need to pass an additional parameter to the SchedulerInfo argument of the web service, and I'm doing this through the OnClientAppointmentsPopulating handler, but it seems that this does not get raised when calling rebind(), even though I have set the

ResourcePopulationMode to

SchedulerResourcePopulationMode.ClientSide. Why is this so?

Thanks.

 

1 Answer, 1 is accepted

Sort by
0
Joe Buckle
Top achievements
Rank 1
answered on 30 Apr 2010, 03:57 AM
Good day!

I was able to figure this out. Since I was creating dynamic schedulers, I was storing the actual scheduler objects in an array in javascript code. When I was trying to call rebind() on each of the scheduler in the array, it doesn't raise the OnClientAppointmentsPopulating event. I instead opted to store the ids of the schedulers in the array, use $find() to get the instance, and it works ok.

Thanks. 
Tags
Scheduler
Asked by
Joe Buckle
Top achievements
Rank 1
Answers by
Joe Buckle
Top achievements
Rank 1
Share this question
or