This is a migrated thread and some comments may be shown as answers.

The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).

2 Answers 96 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
G S S
Top achievements
Rank 1
G S S asked on 11 Jun 2009, 10:59 AM
Hi,

I am using the RadAjaxManager, but I keep getting this error as a YSOD. I got it once before and it was because I didn't have runat set to server on my form. But now I do. Here is my code:



<body>
    <form id="form1" runat="server">
      <telerik:RadAjaxManager  ID="RadAjaxManager1" EnableAJAX="true" runat="server" OnAjaxRequest="RadAjaxManager1_AjaxRequest">      
        <AjaxSettings>        
        <telerik:AjaxSetting AjaxControlID="RadAjaxManager1">
        <UpdatedControls>
        <telerik:AjaxUpdatedControl ControlID="RadGrid1" />
        </UpdatedControls>
        </telerik:AjaxSetting>
        </AjaxSettings>
        </telerik:RadAjaxManager>


    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>  
 
This seems correct to me. What am I missing?

Thanks

2 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 11 Jun 2009, 11:04 AM
Hello G S S,

Please examine the following links:
General Troubleshooting
RadCodeBlock and RadScriptBlock

If the problem persists you can send us your project attached to formal support ticket.

Best regards,
Daniel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Rajinder Singh
Top achievements
Rank 1
answered on 14 May 2013, 11:30 AM

Tags
Ajax
Asked by
G S S
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Rajinder Singh
Top achievements
Rank 1
Share this question
or