Either you need to use Response.Redirect("YourPage.aspx");
or
Server.Transfer("YourPage.aspx"); on your button click event.
So it will be like the following:
or
Server.Transfer("YourPage.aspx"); on your button click event.
So it will be like the following:
protected void btnConfirm_Click(object sender, EventArgs e)
{
Response.Redirect("YourPage.aspx");
//or
Server.Transfer("YourPage.aspx");
}
0 Comments