
March 19th, 2003, 11:10 PM
|
|
Registered User
|
|
Join Date: Mar 2003
Posts: 2
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Opening and Closing Windows during a process
Hi Folks, <br><br>I have a web form that upon clicking a button, does a database search and returns the results. Because this search may take some time, I want to display an image while it searches (an animated gif that indicates that it is working) and then stop the display of that image when it is completed. <br><br>I set up a click method that does a redirect to the same page with the search parameters. If a search string is passed then it sets the image to visible, gets the data, sets the image visible to False and then displays the results. Unfortunately, this doesn't seem to work. I'm guessing that it has to do with when the page is rendered. <br><br>My second thought was to open a small separate window that displays the gif and then to close that window when the search is complete. That should take care of timing issues. <br><br>I'm not sure what code is required to do that. Can someone give me suggestions without javascript? <br><br>Failing that, can I do it with Javascript? <br><br>All help appreciated! <br><br>Ken
|