Hello,
GIVEN:
1. Using ASP.NET AJAX 2013 Q1
2. RadScheduler contained in a RadAjaxPanel
3. Using model binding(setting the ItemType and SelectMethod properties of the RadScheduler)
ISSUE:
When trying to call the Rebind() method of the RadScheduler in code behind( AjaxRequest[RadAjaxPanel], AppoimentDelete[RadScheduler]) i get the following error:
Data properties on data control 'RadSceduler_ID' such as DataSource, DataSourceID, and DataMember cannot be changed during the databinding phase of the control
I "fixed" it in the AjaxRequest event handler by calling the DataBind() method instead of Rebind() but it still doesn't work in the AppointmentDelete event handler(error above)
GIVEN:
1. Using ASP.NET AJAX 2013 Q1
2. RadScheduler contained in a RadAjaxPanel
3. Using model binding(setting the ItemType and SelectMethod properties of the RadScheduler)
ISSUE:
When trying to call the Rebind() method of the RadScheduler in code behind( AjaxRequest[RadAjaxPanel], AppoimentDelete[RadScheduler]) i get the following error:
Data properties on data control 'RadSceduler_ID' such as DataSource, DataSourceID, and DataMember cannot be changed during the databinding phase of the control
I "fixed" it in the AjaxRequest event handler by calling the DataBind() method instead of Rebind() but it still doesn't work in the AppointmentDelete event handler(error above)