RadAjaxLoadingPanel causing AJAX controls to disappear during AJAX postbacks

7 posts, 1 answers
  1. apb
    apb avatar
    4 posts
    Member since:
    Apr 2008

    Posted 19 Nov 2008 Link to this post

    Hi,

    Whenever I put a RadAjaxLoadingPanel on my form and set it to be used by either a RadAjaxPanel or RadAjaxManager, it causes the controls within the panel or or those managed by the manager to disappear during AJAX postbacks (they reappear when it is complete).

    I've tried playing with the transparency, size, positioning, etc. Nothing makes any difference.

    What am I doing wrong? This can't be the intended behavior.

    -Al
  2. Answer
    Kevin Babcock
    Kevin Babcock avatar
    189 posts
    Member since:
    Mar 2007

    Posted 20 Nov 2008 Link to this post

    Hello Al,

    You are correct, usually the RadAjaxLoadingPanel does not cause all of the controls within the RadAjaxPanel to disappear. It wraps its content in a hidden <div>, and then shows the <div> and moves it over the panel when it is activated. If the content of the RadAjaxLoadingPanel is not transparent, it will block out the controls underneath it. You can set the Transparency property to make the content transparent, as you probably already know. By default, a simple "Loading" gif is used as the sole content of the RadAjaxLoadingPane. Can you post the markup for your RadAjaxLoadingPanel? Perhaps it can help me figure out why yours is not working as you'd like.

    Regards,
    Kevin Babcock
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. apb
    apb avatar
    4 posts
    Member since:
    Apr 2008

    Posted 04 Dec 2008 Link to this post

    Thanks. It was the transparancy.
  5. Kevin Babcock
    Kevin Babcock avatar
    189 posts
    Member since:
    Mar 2007

    Posted 04 Dec 2008 Link to this post

    No problem. I'm glad you were able to solve your issue.

    Regards,
    Kevin Babcock
  6. sebastien Dubos
    sebastien Dubos avatar
    9 posts
    Member since:
    Dec 2009

    Posted 18 Feb 2010 Link to this post

    Hi All,

    I'm in front of a strange problem with RadAjaxLoadingPanel and a radgrid. Everything is fine on the first update, my RadAjaxLoadingPanel is displayed with some transparency. But I notice that if I'm doing update fiew times, the  RadAjaxLoadingPanel become more and more white. And at the end the transparency is gone.

    It looks like is using 50% transparency on the first update. Then 25% on the 25% at the second update etc...

    Any idea
    Sebastien Dubos

    <telerik:RadAjaxManager ID="RadAjaxManagerTasks" runat="server"
        <AjaxSettings> 
            <telerik:AjaxSetting> 
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="RadGridTasks" LoadingPanelID="RadAjaxLoadingPanelTasks" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 
        </AjaxSettings> 
    </telerik:RadAjaxManager> 
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanelTasks" runat="server" Transparency="25" 
        BackColor="Silver" HorizontalAlign="Center"
        <table> 
            <tr> 
                <td valign="bottom" height="100px"
                    <asp:Image ID="imgTasksLoader" runat="server" ImageUrl="~/ECDCImages/Internet Icon/ajax-loader.gif" /> 
                </td> 
            </tr> 
        </table> 
    </telerik:RadAjaxLoadingPanel> 

  7. Dimo
    Admin
    Dimo avatar
    8332 posts

    Posted 18 Feb 2010 Link to this post

    Hello Sebastien,

    The provided code snippet does not cause the described issue. The problem must be somewhere else - can you send a runnable demo?

    By the way, the AjaxSetting should have an AjaxControlID set. Currently this setting does not do anything.

    <telerik:AjaxSetting AjaxControlID="RadGridTasks">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGridTasks" LoadingPanelID="RadAjaxLoadingPanelTasks" />
                </UpdatedControls>
            </telerik:AjaxSetting>


    Regards,
    Dimo
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  8. Kevin Babcock
    Kevin Babcock avatar
    189 posts
    Member since:
    Mar 2007

    Posted 18 Feb 2010 Link to this post

    Are you programatically displaying the RadAjaxLoadingPanel, or is it possible that multiple controls could be firing off requests before previous requests have returned? Also, have you verified that the loading panel is being disabled correctly when it is no longer needed? I've seen the behavior you describe when I accidentally enabled the RadAjaxLoadingPanel more than once at a time. If your loading panel is not set to static, then the loading panel DOM element(s) is actually copied every time it is displayed and moved on top of the elements it is meant to hide. If you have transparency turned on and then enable the RadAjaxLoadingPanel more than once, you'll get several layers of the loading panel on top of one another, resulting in what looks like less and less transparency.

    I hope that helps.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017