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 -

Who is Participating?
dxdinhConnect With a Mentor Commented:

I would hook up jQuery framework

and use the blockUI plugin

in no time you will love jQuery .....
Obadiah ChristopherConnect With a Mentor Commented:
Can u show a waiting image while the page gets reloaded?
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.
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.