RadAjaxManger Hide AjaxLoadingPanel for certain UpdatedControls

5 posts, 0 answers
  1. Johnny
    Johnny avatar
    86 posts
    Member since:
    Dec 2010

    Posted 22 Feb 2012 Link to this post

    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
  2. Johnny
    Johnny avatar
    86 posts
    Member since:
    Dec 2010

    Posted 23 Feb 2012 Link to this post

    hello telerik masters
  3. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 24 Feb 2012 Link to this post

    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.
  4. Johnny
    Johnny avatar
    86 posts
    Member since:
    Dec 2010

    Posted 24 Feb 2012 Link to this post

    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
  5. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 27 Feb 2012 Link to this post

    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.
Back to Top