Incremental Status while running long process on page load.

Posted by Sundermagar under ASP.NET on 5/24/2010 | Views : 3177 | Status : [Member] | Replies : 1
Hi Friends!

I need some help of urs if any one have solution for my problem.


1. I have a page say process.aspx?id=1024 on Page_Load of this page I am calling Method to Process the data associated with ID and generates XML string .
2. Calling webmethod and sending generated xml string from step 1.
3. Getting response ID from webmethod and Inserting to some table.
4. Redirecting to some other page.

Because page takes time to load as all the operation happening on Page_Load so I want to show some incremental status message to the user so that user can wait till.

something like this:
Step 1. "processing data to send to webmethod..."
Step 2. "Please wait while service response..."
Step 3. "Updating lookup tables..."
Step 4 "Done. Thanks for your patience! "

Before every method call I want to show some status message. but not getting because everything should happen on pageload and message should also change according to steps.


Sunder Magar


Posted by: Vuyiswamb on: 5/25/2010 [Member] [MVP] [Administrator] NotApplicable

First look at how the UpdateProgress of ajax is used and change the status , look at this example

Thank you for posting at Dotnetfunda

Sundermagar, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response