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

RadAjaxLoadingPanel Displaying twice

1 Answer 144 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Ed Staffin
Top achievements
Rank 1
Ed Staffin asked on 18 Dec 2008, 06:38 PM
Hi,
I have setup a RadAjaxLoadingPanel on a Master page and on the content page I have set up a RadAjaxManagerProxy. For some reason when I click on a button that has several controls that need updating. I end up seeing multiple RadAjaxLoadingPanels displaying at once. It looks rediculous. Is there a way to tell it to only display one?
Thanks ... Ed

1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 19 Dec 2008, 12:10 PM
Hello Ed,

I believe you are setting the LoadingPanel as DefaultLoadingPanel for the RadAjaxManager. In this case the presented behaviour is expected. If you need to set the Loading panel next to the ajax initiator or in the center of the screen you could review the approach provided in the following help topics:

Show the loading panel next to AJAX initiator
Center LoadingPanel on the Screen

Also, if the desired functionality is to show the LoadingPanel next to particular updated control, you should set it in the RadAjaxManager settings like this:
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"
                <AjaxSettings> 
                    <telerik:AjaxSetting AjaxControlID="Button1"
                        <UpdatedControls> 
                            <telerik:AjaxUpdatedControl ControlID="TextBox1" LoadingPanelID="RadAjaxLoadingPanel1" /> 
                            <telerik:AjaxUpdatedControl ControlID="TextBox2" /> 
                        </UpdatedControls> 
                    </telerik:AjaxSetting> 
                </AjaxSettings> 
</telerik:RadAjaxManager> 




Regards,
Maria Ilieva
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Ajax
Asked by
Ed Staffin
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or