The problem happens because on Init
is still not recreated from the ViewState.
And when you try to access it the calendar get's new CalendarView
that Initialize with the given.
The solution as described in the other forum thread that you have quoted already is to access this view later in the control life-cycle, after it's ViewState is loaded properly.
Please note that the Init
event of the page is later than the Init
event of the control. So try to do your logic on Page_Init or Page_Load.
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