I'm creating a page not completely unlike this demo. Like the demo I have a RadCalendar displayed that the user uses for quick navigation in the RadScheduler.
I've got things set up so when they change the view in the Calendar, the Scheduler updates. I want to do the reverse, so that when the user navigates directly in the Scheduler, the Calendar view updates.
I've got this in my code-behind ...
and the AjaxSettings on the page include this ...
Now I know that you have made no provision for this update in your demo, but when I run my code, I can see the selected date in the Calendar being updated (I've got EnableMultiSelect="False" BTW) but the Calendar display simply refuses to change. I can also see that the Ajax update is working 'cos the LoadingPanel displays.
I suppose I'm looking for an equivalent to Rebind() or somesuch to get the Calendar to redraw.
What am I missing?
--
Stuart
I've got things set up so when they change the view in the Calendar, the Scheduler updates. I want to do the reverse, so that when the user navigates directly in the Scheduler, the Calendar view updates.
I've got this in my code-behind ...
protected void RadScheduler1_NavigationComplete(object sender, SchedulerNavigationCompleteEventArgs e){ RadCalendar1.SelectedDate = RadScheduler1.SelectedDate;}and the AjaxSettings on the page include this ...
<telerik:AjaxSetting AjaxControlID="RadScheduler1"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="RadScheduler1" LoadingPanelID="RadAjaxLoadingPanel1"/> <telerik:AjaxUpdatedControl ControlID="RadCalendar1" LoadingPanelID="RadAjaxLoadingPanel1"/> </UpdatedControls></telerik:AjaxSetting>Now I know that you have made no provision for this update in your demo, but when I run my code, I can see the selected date in the Calendar being updated (I've got EnableMultiSelect="False" BTW) but the Calendar display simply refuses to change. I can also see that the Ajax update is working 'cos the LoadingPanel displays.
I suppose I'm looking for an equivalent to Rebind() or somesuch to get the Calendar to redraw.
What am I missing?
--
Stuart