Two Loading Panels

3 posts, 1 answers
  1. David
    David avatar
    87 posts
    Member since:
    Jul 2010

    Posted 21 Feb 2011 Link to this post

    Hi,

    I am seeing 2 loading panels when I have only specified one loading panel for one AjaxSetting: screenshot

    The mark-up is:

    <telerik:RadAjaxManagerProxy ID="DaveRadAjaxManagerProxy" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="DaveRadTabStrip">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="DaveRadTabStrip" LoadingPanelID="DarRadAjaxLoadingPanel" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManagerProxy>
     
    <telerik:RadAjaxLoadingPanel ID="DarRadAjaxLoadingPanel"
                                 Transparency="20" runat="server" Width="200px" Height="100px" BackgroundPosition="Right"
                                 IsSticky="true" BackColor="Green">
        <img src='<%= Page.ClientScript.GetWebResourceUrl(typeof(RadAjaxLoadingPanel), "Telerik.Web.UI.Skins.Default.Ajax.loading.gif") %>' alt="Loading panel pic" />
    </telerik:RadAjaxLoadingPanel>

    The RadAjaxManager on the master page is simply:

    <telerik:RadAjaxManager ID="DarRadAjaxManager" runat="server">               
    </telerik:RadAjaxManager>

    Does anyone know why I have more than one displaying?

    Cheers
  2. Answer
    Pavlina
    Admin
    Pavlina avatar
    6187 posts

    Posted 21 Feb 2011 Link to this post

    Hello David,

    I followed your scenario and prepared a sample project that is working as expected. Give it a try and see what is the difference in your case.

    Regards,
    Pavlina
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  3. David
    David avatar
    87 posts
    Member since:
    Jul 2010

    Posted 22 Feb 2011 Link to this post

    Thanks Pavlina,
    The difference was that I had a RadSkinManager in the master page.
    The trick was getting the right combination of Skin/img features right.
    I found that removing the img tag from the LoadingPanel and not setting the Skin attribute of the panel led to the Skin specified by the RadSkinManager being used. So now, only 1 image.

    Thanks for the assistance.
Back to Top