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

Service Data Binding - Client Side Rebind

10 Answers 168 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Paige Cook
Top achievements
Rank 2
Paige Cook asked on 20 Aug 2009, 07:45 PM
Hi,

I am currently setting up the scheduler to bind via a WCF service and wanted to know if there is a client side method on the scheduler object that will allow me to force the scheduler to rebind. I looked for a .rebind() but did not see one. Does this client-side method exist and I am just missing it?

Thanks,
Paige Cook

10 Answers, 1 is accepted

Sort by
0
Accepted
Peter
Telerik team
answered on 24 Aug 2009, 04:33 PM
Hi Paige,

We plan to implement auto-refresh (with polling) and expose a public Refresh method in the client API of RadScheduler.

Meanwhile, you can use the following workaroud:

function refreshSchedulerClientSide()     
{     
 var scheduler = $find('<%= RadScheduler1.ClientID %>');     
 scheduler.set_selectedDate(scheduler.get_selectedDate());     
}    


All the best,
Peter
the Telerik team


Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Paige Cook
Top achievements
Rank 2
answered on 24 Aug 2009, 05:06 PM
Thanks! Good news on adding the client side refresh, as well as the auto-refresh (with polling) functionality. I am looking forward to this using this once it is implemented. Also, thanks for the workaround... I should have been able to figure that out on my own. Duh! :-)
 
Thanks,
Paige
0
Paige Cook
Top achievements
Rank 2
answered on 24 Aug 2009, 05:06 PM
Thanks! Good news on adding the client side refresh, as well as the auto-refresh (with polling) functionality. I am looking forward to this using this once it is implemented. Also, thanks for the workaround... I should have been able to figure that out on my own. Duh!
Thanks,
Paige
0
Paige Cook
Top achievements
Rank 2
answered on 24 Aug 2009, 06:13 PM
Thanks! Good news on adding the client side refresh, as well as the auto-refresh (with polling) functionality. I am looking forward to this using this once it is implemented. Also, thanks for the workaround... I should have been able to figure that out on my own. Duh!
Thanks,
Paige
0
towpse
Top achievements
Rank 2
answered on 17 Dec 2009, 01:47 AM
Nice. very helpful thanks.

I'm still having an issue with the month view not loading as expected when i first switch to it.
If i'm on a day or week that has schedules as soon as the scheduler loads, it displays as expected.
Once I switch to month view I need to page over to another month and come back to force a date change to get the scheduler to display properly. The response in firebug shows me the get appointments was called and did in fact return the expected appointments.

cheers
0
T. Tsonev
Telerik team
answered on 17 Dec 2009, 08:07 AM
Hello,

Which version are you using? There's a known problem with the view switching in the SP1 (2009.2.1208) release. You can find a detailed description of the problem and a workaround here:
http://www.telerik.com/community/forums/aspnet-ajax/scheduler/known-issues-and-breaking-changes-radscheduler.aspx

Let us know if this helps.

Regards,
Tsvetomir Tsonev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Mahesh
Top achievements
Rank 1
answered on 23 Aug 2012, 09:10 AM

Hi Peter,

 Great method !!!
I just want to know that is there any way to pass some custom parameters before rebinding this. In my scenario , on a dropdown change i want to rebind the scheduler according to the value selected in dropdown. Is that possible?


Thanks ,
Mahesh
0
Mahesh
Top achievements
Rank 1
answered on 23 Aug 2012, 09:14 AM

Hi Peter,

 Great method !!!
I just want to know that is there any way to pass some custom parameters before rebinding this. In my scenario , on a dropdown change i want to rebind the scheduler according to the value selected in dropdown. Is that possible?


Thanks ,
Mahesh
0
Peter
Telerik team
answered on 23 Aug 2012, 03:38 PM
Hi Mahesh,

You can send additional information to the Web Service to achieve your goal. Attached is a simple demo for reference.

Greetings,
Peter
the Telerik team
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 RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Mahesh
Top achievements
Rank 1
answered on 24 Aug 2012, 04:21 AM
Hi Peter,

 Thank you.. We have used OnClientAppointmentsPopulating to pass additional information in the scheduler info.


Thanks,
Mahesh
Tags
Scheduler
Asked by
Paige Cook
Top achievements
Rank 2
Answers by
Peter
Telerik team
Paige Cook
Top achievements
Rank 2
towpse
Top achievements
Rank 2
T. Tsonev
Telerik team
Mahesh
Top achievements
Rank 1
Share this question
or