|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
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/ |
|
#3
|
|||
|
|||
|
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 |
|
#4
|
|||
|
|||
|
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... |
|
#5
|
|||
|
|||
|
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... |
![]() |
| Viewing: Dev Articles Community Forums > Programming > ASP Development > Progress Bar in ASP |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|