I'm attempting to convert my pages using the ASP.Net controls to the ASP.Net Ajax controls. I have a page with a Grid and Menu, and got those converted fine, but I'm receiving errors when I try to convert the RadAjaxManager.
If I drop this code onto the page:
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="RadGrid1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1"/>
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
Then I get the "The Controls collection cannot be modified because the control contains code blocks" error. I'm using a master page, and there's no code inside the <head></head> tag, just a title and a link for a .css file. As soon as I remove the RadAjaxManager control, it works fine (just without ajax...).
Suggestions?
Bill
If I drop this code onto the page:
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="RadGrid1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1"/>
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
Then I get the "The Controls collection cannot be modified because the control contains code blocks" error. I'm using a master page, and there's no code inside the <head></head> tag, just a title and a link for a .css file. As soon as I remove the RadAjaxManager control, it works fine (just without ajax...).
Suggestions?
Bill