I am trying to redirect another site on button click.
You can also use PostbackUrl property associated with button control in ASP.NET, such as : <asp:button id = "b1" PostBackUrl = "www.sify.com" runat = "server" Text = "redirect"/>