Solved

Hide gridview on long postback

Posted on 2011-02-22
3
251 Views
Last Modified: 2012-05-11
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
0
Comment
Question by:JT_SIRO
3 Comments
 
LVL 20

Assisted Solution

by:informaniac
informaniac earned 62 total points
ID: 34958261
Can u show a waiting image while the page gets reloaded?
0
 

Author Comment

by:JT_SIRO
ID: 34962790
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
 
LVL 7

Accepted Solution

by:
dxdinh earned 63 total points
ID: 34966113



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

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now