Click here to Skip to main content
15,893,663 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

As window application show processing messages(e.g-in Gtalk when connect then show connecting to server... etc)

I want to show this type of custom messages in my web application how can i do this i tried this code.


C#
protected void Page_Load(object sender, EventArgs e)
    {
        lbl_message.Text = "Part 1 Data";
        Thread.Sleep(10000);
        lbl_message.Text = "Part 2 Data";
    }


But it show last label message ("Part 2 Data") directly

Please help

Thanks
Srishti
Posted
Comments
Kornfeld Eliyahu Peter 21-Jul-14 1:39am    
You have to rephrase your question. It make no sense as it is...

1 solution

You are doing it all on server. Browsers are not aware what you are doing at the server.

In order to achieve this, you can either make use of UpdateProgress or blockUI.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900