.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old March 19th, 2003, 11:10 PM
kmcarthur kmcarthur is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 2 kmcarthur User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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

Reply With Quote
  #2  
Old March 24th, 2003, 07:57 AM
bkalicharan bkalicharan is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 51 bkalicharan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 42 m 59 sec
Reputation Power: 6
Hi,<br>I did the same problem in my project just like this..<br>First Send an Image to the browser i.e., HTML Code Using Response.Flush.. <br>After in javascript code hide the image ... thats it..<br>Set the Style propertly of the image to hidden [not on onload]<br><script><br>image.style.dipslay="none"<br>....<br></script><br><body>...<br>Regards,<br>Kalicharan Barath Boorugu.

Reply With Quote
  #3  
Old March 24th, 2003, 04:01 PM
kmcarthur kmcarthur is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 2 kmcarthur User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Kalicharan,<br><br>Thanks for your reply! I'll try it now.<br><br>Much appreciated,<br><br>Ken

Reply With Quote
Reply

Viewing: ASP Free ForumsProgramming.NET Development > Opening and Closing Windows during a process


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT