How to create a preload for a Griedview in asp.net 2.0?
Posted on 2008-06-19
I have this page:" View.aspx" This page have a "textbox" and a "button".The button's name is "Searchbtn" and the textbox's name is "Searchtxt". Also in the same page I have a panel named "panel1" which contain a griedview that I named. "GriedViewSearch".
When the page appears for first time the "Panel1" is invisble until the client input a name in the textbox and click the search button. Then the Panel1 will appear showing the GriedView with the best matches for whatever the client was looking for.
Everything happend in the page "View.aspx" and all the controls are ASP. By the way teh griedview make a trip to the database to show whatever the client was looking for.
My problem is that the griedview take a long time to show up with the result so I need to create a control may be a gif animation or a swf animation to show to the client while the page is going to the server and pulling the information. When the information is ready to be show and Panel1 is ready to appear then the gif animation will end and the griedview will appear.
It is sore it off like a preload, so any ideas how to do that?
Thanks for your help!!! :) :)