AJAX LOADING PANEL ERROR

2 posts, 0 answers
  1. Kali Raj
    Kali Raj avatar
    4 posts
    Member since:
    Jan 2010

    Posted 06 Jan 2010 Link to this post

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

    Hi

    Server Error in '/_ESM' Application.

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


    I got above error when am using this code

      <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel2" runat="server"
                Height="75px" IsSticky="True"
                style="top: -24px; left: 372px; position: absolute; width: 253px; margin-top: 108px"
                Transparency="10">
                <img alt="Loading..."
                    src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading.gif") %>'
                    style="border:0;" />
            </telerik:RadAjaxLoadingPanel>

     <telerik:RadAjaxManager ID="AjaxManager1" runat="server">
        <AjaxSettings>
         <telerik:AjaxSetting AjaxControlID="rgWFitems">
                    <UpdatedControls>
                  <telerik:AjaxUpdatedControl ControlID="rgWFitems" LoadingPanelID="RadAjaxLoadingPanel2"/>
                    </UpdatedControls>
                </telerik:AjaxSetting>
        
                 <telerik:AjaxSetting AjaxControlID="rwmRP">
                    <UpdatedControls>
                  <telerik:AjaxUpdatedControl ControlID="rwmRP" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                 <telerik:AjaxSetting AjaxControlID="ParamWindow">
                    <UpdatedControls>
                  <telerik:AjaxUpdatedControl ControlID="ParamWindow" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>



  2. Dimo
    Admin
    Dimo avatar
    8446 posts

    Posted 06 Jan 2010 Link to this post

    Hi Kali Raj,

    Please enclose the <img> tag in a RadCodeBlock.

    http://www.telerik.com/help/aspnet-ajax/ajxradscriptblockradcodeblock.html

    http://www.telerik.com/help/aspnet-ajax/troubleshooting.html


    Greetings,
    Dimo
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top