Hide gridview on long postback

I have large gridview that can be filtered when a user enters text in a search filter textbox.  I want to disable, gray out or hide the grid while the page is posting back (which can take a few seconds in my case).  

What's the slickest way to do this?  I'm guessing I need to fire some javascript on the filter button OnClientClick event, then turn it back on on the server side.  Is this correct?  A simple code example would be greatly appreciated.  thx -

justin
JT_SIROAsked:
Who is Participating?
 
dxdinhConnect With a Mentor Commented:



I would hook up jQuery framework
http://docs.jquery.com/Tutorials

and use the blockUI plugin
http://jquery.malsup.com/block/

in no time you will love jQuery .....
0
 
Obadiah ChristopherConnect With a Mentor Commented:
Can u show a waiting image while the page gets reloaded?
0
 
JT_SIROAuthor Commented:
I do that now, but it just sits over the grid and allows you to scroll and click on grid controls, which I can't have.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.