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

3 posts, 0 answers
  1. G S S
    G S S avatar
    85 posts
    Member since:
    Mar 2008

    Posted 11 Jun 2009 Link to this post


    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:

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

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

  2. Daniel
    Daniel avatar
    4949 posts

    Posted 11 Jun 2009 Link to this post

    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,
    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.
  3. Rajinder Singh
    Rajinder Singh avatar
    1 posts
    Member since:
    May 2013

    Posted 14 May 2013 Link to this post

Back to Top