Dawood Abbas

Dawood Abbas

  • NA
  • 264
  • 98.4k

how to close current webform after click messagebox ok butto

Mar 11 2015 6:33 AM
how to close current webform after click messagebox ok butto


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

Answers (6)