I have written following code in asp.net . It gives error like Bad request. Code as follows

 protected void btnSubmit_Click(object sender, EventArgs e)
 {
        // some code
 Response.Redirect("<script>alert('Successfully Added!');window.location ='../Admin/frmStateMgmt.aspx';</script>");  // It gives error here.
}

Related posts

Recent Viewed