• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 261
  • Last Modified:

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 -

2 Solutions
Obadiah ChristopherCommented:
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.

I would hook up jQuery framework

and use the blockUI plugin

in no time you will love jQuery .....
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.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now