I have some preliminary questions for using Scheduler.
1. I do not want to keep the ViewState for the Scheduler. So, in Page_PreRender I bind the Scheduler with appointments ( a custom class object list) everytime. I only set the RadScheduler1.DataSource and then call RadScheduler1.Rebind(). -- is this okay?
2. When the page loads first time it displays the results correctly (calls AppointmentCreated event too). But then when I change the date, it again fetches appointment for next date - there are appts for that date too - but then AppointmentCreated does not get called and the Scheduler is displayed empty. How can I make sure that Scheduler gets refreshed on every Page_PreRender or any other event like that.
3. The other thing is - I use RadTooltip in Scheduler. When OnAjax_Update() gets called, the .net calls PreRender again and it again binds the RadScheduler. I understand that I can't avoid it - so other approach would be to update RadScheduler in different events but not in PagePreRender. If I do that, then since I am not using ViewState, and call is made for Tooltip - will there be any problem? Or do you suggest any alternative for Tooltip - like calling PageMethods through Ajax to get the content to display in tooltip control and not go through whole page event cycle.
-Piyush
1. I do not want to keep the ViewState for the Scheduler. So, in Page_PreRender I bind the Scheduler with appointments ( a custom class object list) everytime. I only set the RadScheduler1.DataSource and then call RadScheduler1.Rebind(). -- is this okay?
2. When the page loads first time it displays the results correctly (calls AppointmentCreated event too). But then when I change the date, it again fetches appointment for next date - there are appts for that date too - but then AppointmentCreated does not get called and the Scheduler is displayed empty. How can I make sure that Scheduler gets refreshed on every Page_PreRender or any other event like that.
3. The other thing is - I use RadTooltip in Scheduler. When OnAjax_Update() gets called, the .net calls PreRender again and it again binds the RadScheduler. I understand that I can't avoid it - so other approach would be to update RadScheduler in different events but not in PagePreRender. If I do that, then since I am not using ViewState, and call is made for Tooltip - will there be any problem? Or do you suggest any alternative for Tooltip - like calling PageMethods through Ajax to get the content to display in tooltip control and not go through whole page event cycle.
-Piyush