Redirect from asp.net page to another using javascript function
This should do:
window.location = "SomePage.aspx";
or
window.location.href="SomePage.aspx";
or
window.location.assign("SomePage.aspx");
Try this....
ScriptManager.RegisterStartupScript(this, this.GetType(), "onclick", "javascript:window.open( 'SomePage.aspx','_blank','height=600px,width=600px,scrollbars=1');", true);
You can try this
window.location.href = 'page.aspx';
I dont know if is the best way