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

Hide / Remove LoadingAjaxPanel for Grid

3 Answers 36 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Stephen
Top achievements
Rank 1
Stephen asked on 09 Sep 2009, 08:14 AM
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.

3 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 09 Sep 2009, 09:10 AM
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.
0
Stephen
Top achievements
Rank 1
answered on 09 Sep 2009, 04:32 PM
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.
0
Stephen
Top achievements
Rank 1
answered on 10 Sep 2009, 01:50 AM
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.
Tags
Grid
Asked by
Stephen
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Stephen
Top achievements
Rank 1
Share this question
or