Instead of using Response.Redirect you could tryCODEScriptManager.RegisterClientScriptBlock(this, typeof(string), "postBack", Page.ClientScript.GetPostBackEventReference(new PostBackOptions(this)), true);I know it's a bit long but if you have any update panels or ajax stuff on the page you need to use ScriptManager. Otherwise you can just useCODEClientScript.RegisterClientScriptBlock(typeof(string),...