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

RadAjaxManger Hide AjaxLoadingPanel for certain UpdatedControls

4 Answers 94 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Johnny
Top achievements
Rank 2
Johnny asked on 22 Feb 2012, 10:56 AM
hi i update 2 RadGrid and 1 panel while RadTree AjaxRequest
i dun want to show the AjaxLoadingPanel showing on Panel control cs the Panel height is 30px oni
is there away to hide ajaxLoadingPanel for certaincontrol

4 Answers, 1 is accepted

Sort by
0
Johnny
Top achievements
Rank 2
answered on 24 Feb 2012, 03:58 AM
hello telerik masters
0
Maria Ilieva
Telerik team
answered on 24 Feb 2012, 03:27 PM
Hello,

I'm not completely sure what your exact requirements are. Do you need to hide the loading panel for specific controls into the updated Panel and to not cover the whole content or you need to hide it for some other controls out of the mentioned Panel?
Some more information on your scenario and the exact functionality you need to achieve will help us provide more to-the-point answer.

Kind regards,
Maria Ilieva
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Johnny
Top achievements
Rank 2
answered on 25 Feb 2012, 03:39 AM
for example i update Panel1 Panel2 and Panel3 while button click
when ajaxifing the AjaxLoading panel appear on 3 panels
can i avoide the Loading Panel appearance on Panel2
0
Maria Ilieva
Telerik team
answered on 27 Feb 2012, 03:26 PM
Hello Johnny,

If you want to show LoadingPanel only for specific Panels you could set the LoadingPanel per AjaxManager setting. For example:
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="Button1">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="Panel1" LoadingPanelID="RadAjaxLoadingPanel1" />
                <telerik:AjaxUpdatedControl ControlID="Panel2" />
                <telerik:AjaxUpdatedControl ControlID="Panel3" LoadingPanelID="RadAjaxLoadingPanel1" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Default">
</telerik:RadAjaxLoadingPanel>
<asp:Button ID="Button1" runat="server" Text="Button" OnClick="Button1_Click" />
<asp:Panel ID="Panel1" runat="server">
    <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
</asp:Panel>
<br />
<br />
<br />
<asp:Panel ID="Panel2" runat="server">
    <asp:Label ID="Label2" runat="server" Text="Label"></asp:Label>
</asp:Panel>
<br />
<br />
<br />
<asp:Panel ID="Panel3" runat="server">
    <asp:Label ID="Label3" runat="server" Text="Label"></asp:Label>
</asp:Panel>

I hope this helps.

All the best,
Maria Ilieva
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Ajax
Asked by
Johnny
Top achievements
Rank 2
Answers by
Johnny
Top achievements
Rank 2
Maria Ilieva
Telerik team
Share this question
or