JElster
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();
}
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.