|
-
Dec 2nd, 2002, 08:50 AM
#1
Thread Starter
Lively Member
Can you make ASP.NET pages postback to show progress bar or status?
Hi, there.
I am creating an ASP.NET application where users make some selections and the click a button to begin processing. The processing will take a long time and I'd like to be able to provide a progressbar or a label that will continually update throughout the processing.
Is it possible to do this instead of just having the user wait and not know what the progress is? If it is possible, how?
Thanks.
-
Nov 10th, 2003, 10:44 AM
#2
Fanatic Member
dietz, did you ever figure this out?
I would also like to have a progress bar on my web application.
Anyone have any ideas?
Thanks
-
Nov 17th, 2003, 11:33 AM
#3
You will have to user client side scripting.
Code:
//Process starts here
//.....do some processing
Response.Write("<script language='javascript'>YourFormName.YourLabel.innerText = 'SomeValueHere'</script>");
Response.Flush();
//.....do some more processing
Response.Write("<script language='javascript'>YourFormName.YourLabel.innerText = 'SomeValueHere'</script>");
Response.Flush();
//.....do some more processing
Response.Write("<script language='javascript'>YourFormName.YourLabel.innerText = 'SomeValueHere'</script>");
Response.Flush();
//etc...
-
Nov 20th, 2003, 11:05 AM
#4
Fanatic Member
Serge, if I'm reading this write that would send back a number as in the number percent done to a label on the form.
How would you get an acutal progress bar in a web page.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|