Display progress status information
-
Hi All, I am developing a website in ASP.Net C#. On click of a button, i am doing several process, such as creating several files, creating reports etc. I want to display this progress to user For example If the file1 is creating, the status will have to show Creation of file1 in progress... Please let me know how this can be done.
-
Hi All, I am developing a website in ASP.Net C#. On click of a button, i am doing several process, such as creating several files, creating reports etc. I want to display this progress to user For example If the file1 is creating, the status will have to show Creation of file1 in progress... Please let me know how this can be done.
AJAX, probably. You'd have to make AJAX calls constantly, and show your progress as new messages come back.
Christian Graus Driven to the arms of OSX by Vista. Please read this[^] if you don't like the answer I gave to your question. "! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
-
Hi All, I am developing a website in ASP.Net C#. On click of a button, i am doing several process, such as creating several files, creating reports etc. I want to display this progress to user For example If the file1 is creating, the status will have to show Creation of file1 in progress... Please let me know how this can be done.
Use AJAX, place an update panel and keep changing text of a label based on the functionality you are doing. Example, when executing code for creating file1....put label text as creating file1. then afterwards when saving in database....put label text as saving data etc.
Regards, Kapil Thakur (Where's there is Kapil , there is a way) - thakur.kapil@gmail.com
-
Use AJAX, place an update panel and keep changing text of a label based on the functionality you are doing. Example, when executing code for creating file1....put label text as creating file1. then afterwards when saving in database....put label text as saving data etc.
Regards, Kapil Thakur (Where's there is Kapil , there is a way) - thakur.kapil@gmail.com
I do all that function in click of a button. the code will be some thing like this Generatereport(); GenerateFiles(); UpdateDatabase(); I created a scriptmanager and then a updatepanel and then added a label into the update panel. then i changed the code like this lbl1.Text="Updating reports"; Generatereport(); lbl1.Text="Updating Files"; GenerateFiles(); lbl1.Text="Updating Database"; UpdateDatabase(); This does not work, the code executes completely and the final label value is displayed.