My current code is set up to display a message in an update panel while updating:
string jv = "alert('Time OutAlert');";
ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "msg", jv, true);
It's working well in displaying the message.
However, when I try to redirect the page after showing the message, it loads the next page without displaying the message. What I actually want is for the user to see the message first, click on "ok" and then get redirected to the next page.
string jv = "alert('Time OutAlert');";
ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "msg", jv, true);
Response.Redirect("~/Nextpage.aspx");