ASP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsProgrammingASP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old May 11th, 2002, 01:12 AM
Nauman Nauman is offline
Twenty Seven
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2002
Location: Multan, Pakistan
Posts: 103 Nauman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 33 m 2 sec
Reputation Power: 16
Send a message via ICQ to Nauman
Unhappy Progress Bar in ASP

Hi there...

I've got some hard time in creating Loading Bar (Progress Bar) in ASP. I havnt got any idea how to create a progress bar that activates when a page loads and displays the loading page progress and after 100% page displayed.

Plz help me....

thanks

Reply With Quote
  #2  
Old May 11th, 2002, 06:49 AM
James Yang James Yang is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: Atlanta, Georgia
Posts: 284 James Yang User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 m 45 sec
Reputation Power: 16
Send a message via ICQ to James Yang
in ASP? really ? I have never heard of a loading thingy in ASP...

are you sure it's not in JavaScript or VBScript..??

Cuz I got a feeling that server side loading thingy is inefficient even if it is possible!!!

but im not sure on this so.. keep me updated on how you go !!!

Ill be very interested in server side loading thigny
__________________
Regards,

James Yang
.NET Developer / Network Engineer
MCSE, MCDBA, MCSA, CCNA

http://www.yellowpin.com/
http://www.opentechsupport.com/

Reply With Quote
  #3  
Old May 11th, 2002, 01:50 PM
bzzz bzzz is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2002
Posts: 7 bzzz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
depending on how fancy you need to get there is an easy way to give some feedback while processing is taking place:
If you have a big slow loop, or a point in the server side processing that takes a while just put

response.write "<img src='bluesqare.gif'>"

inside the loop.

then every iteration another bluesquare is output and the user sees that progress is being made. You need to have already output the html headers and so on for this to work, and of course you need to make a little blue sqare graphic.

The limitations of this are that you don't indicate how many little blue squares there are eventually going to be, and also that the line of them will remain onscreen once processing is completed, but you could get around these things if you really need to get fancy

Reply With Quote
  #4  
Old May 11th, 2002, 03:22 PM
transient transient is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2002
Posts: 6 transient User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to transient
Correct me if i'm wrong, but I think you'd have to do a server.flush after every square too, or it would all just load at once after the page has gone through the interpreter.

What kind of application is this that you need a loading screen? I suggest trying to get the load time down rather than giving them something to look at...

Reply With Quote
  #5  
Old May 12th, 2002, 02:34 AM
Nauman Nauman is offline
Twenty Seven
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2002
Location: Multan, Pakistan
Posts: 103 Nauman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 33 m 2 sec
Reputation Power: 16
Send a message via ICQ to Nauman
Question

Yes...you are right...
Server side Loading is inefficient. Ive now decided to use VBScript to create a Client side Progress bar...
would u plz add ur comments that help me in doing this...

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingASP Development > Progress Bar in ASP


Developer Shed Advertisers and Affiliates


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 | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.

© 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap