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

AJAX LOADING PANEL ERROR

1 Answer 20 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Kali Raj
Top achievements
Rank 1
Kali Raj asked on 06 Jan 2010, 02:56 PM

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>



1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 06 Jan 2010, 03:16 PM
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.
Tags
Ajax
Asked by
Kali Raj
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or