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

Two Loading Panels

2 Answers 134 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 21 Feb 2011, 02:07 PM
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 Answers, 1 is accepted

Sort by
0
Accepted
Pavlina
Telerik team
answered on 21 Feb 2011, 06:10 PM
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!
0
David
Top achievements
Rank 1
answered on 23 Feb 2011, 01:12 AM
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.
Tags
Ajax
Asked by
David
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
David
Top achievements
Rank 1
Share this question
or