01. Remove Response.Redirect("~/Error.aspx");
02.Add
string redirectURL = Page.ResolveClientUrl("~/Error.aspx");
ScriptManager.RegisterStartupScript(Page, GetType(), "Script",
"document.location = '" + redirectURL + "';", true);
No comments:
Post a Comment