Link to home
Start Free TrialLog in
Avatar of JElster
JElsterFlag for United States of America

asked on

Ajax - How to force post back or update label from button click

I have a button and a click event from code behind.
i need to update a label after the button is clicked.

     protected void Button_Click(object sender, EventArgs e)
        {
             label.Text = "Start Time " + DateTime.Now.ToString();

             // LONG RUNNING STORED PROCEDURE


              label.Text = "End  Time " + DateTime.Now.ToString();

             
   }
ASKER CERTIFIED SOLUTION
Avatar of Rajar Ahmed
Rajar Ahmed
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial