Hide / Remove LoadingAjaxPanel for Grid

4 posts, 0 answers
  1. Stephen
    Stephen avatar
    70 posts
    Member since:
    Mar 2008

    Posted 09 Sep 2009 Link to this post

    Is there a way to hide or remove the LoadingAjaxPanel for the grid? I have a situation where i have a grid inside a TabStrip and it's showing two LoadingAjaxPanels, one for the TabStrip and one for the grid. I need to always show the tabstrip one but i don't need to show it for the grid.
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 09 Sep 2009 Link to this post

    Hello Stephen,

    You can explicitly hide/show the loading panel based on your requirement. Check out teh following help documewnt which explains on how to go about this:
    Show and hide loading panel explicitly

    Thanks
    Princy.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Stephen
    Stephen avatar
    70 posts
    Member since:
    Mar 2008

    Posted 09 Sep 2009 Link to this post

    I think there's a bit of a misunderstanding here.  The second LoadingAjaxPanel only shows when a Grid is included on the page (in the page or in a tabstrip), which I seem to have no control over. I never actually added the second one in the markup. It shows up automatically on postback. This wasn't happening in Q1 2009 and only started happing in Q2 2009.
  5. Stephen
    Stephen avatar
    70 posts
    Member since:
    Mar 2008

    Posted 09 Sep 2009 Link to this post

    I figured it out.  Since I was using a template based LoadingAjaxPanel I forgot to set the Skin attribute to an empty string. Because of this it caused the panel to use the global one I had set in the web.config.  Hopefully someone else will find this useful when running into this.
Back to Top