<button onclick="location.href='www.google.com'">Click me to go to Google.com</button>
Response.Redirect("http://google.com");
protected void lnkButton_Click(object sender, EventArgs e) { Page.ClientScript.RegisterStartupScript(this.GetType(),"OpenWindow","window.open('http://www.google.com','_newtab');",true); }
<asp:LinkButton runat="server" ID="lnk1" PostBackUrl="http://www.google.com">www.google.com</asp:LinkButton>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)