Hi,
Im trying to recreate the Day - Week - Month Selectors at the top of the rad scheduler. I have added 3 buttons across the top of the page and have the following code hooked up to them
When the button is clicked I get the error:
Unable to cast object of type 'Telerik.Web.UI.Scheduler.Rendering.MonthView' to type 'Telerik.Web.UI.Scheduler.Rendering.DayView'
If it makes any difference this is inside of a DNN module.
Thanks!
Michael
Im trying to recreate the Day - Week - Month Selectors at the top of the rad scheduler. I have added 3 buttons across the top of the page and have the following code hooked up to them
Protected Sub btnDay_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnDay.Click |
RadScheduler1.SelectedView = SchedulerViewType.DayView |
End Sub |
When the button is clicked I get the error:
Unable to cast object of type 'Telerik.Web.UI.Scheduler.Rendering.MonthView' to type 'Telerik.Web.UI.Scheduler.Rendering.DayView'
If it makes any difference this is inside of a DNN module.
Thanks!
Michael