iam using liek this
protected void btnUpdate_Click(object sender, EventArgs e)
{
ScriptManager.RegisterStartupScript(this, this.GetType(), "Messagebox", "alert('Record Updated successfully.Note: This tab is now getting close');", true);
}
so how to close current webform after click messagebox ok button
so how to close current webform after click messagebox ok button

Manish Kumar ChoudharyPosted Mar 11, 2015, 6:55 AM
I think not possible. Use Response.Redirect to redirect to another page. And Disable browser back buttons.
Dawood AbbasPosted Mar 11, 2015, 6:55 AM
Dawood AbbasPosted Mar 11, 2015, 6:50 AM
Manish Kumar ChoudharyPosted Mar 11, 2015, 6:44 AM
ClientScript.RegisterClientScriptBlock(Page.GetType(),
"script", "window.close();", true);
or
Go through this links it will help you
http://www.c-sharpcorner.com/Forums/Thread/206179/
Dawood AbbasPosted Mar 11, 2015, 6:42 AM
Manish Kumar ChoudharyPosted Mar 11, 2015, 6:39 AM