I am trying to redirect another site on button click.

Answer Posted / guest

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"/>

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

For which does this Codebehind="MyCode.aspx.cs" is relevent to ?

680


What is a query string in a url?

633


If you are using components in your application, how can you handle exceptions raised in a component?

2171


What symbol specifies the beginning of a query string?

627


Name some asp objects?

655






How ASP.NET page works?

758


What are the differences between primary foreign and unique keys?

624


What are ASHX files?

684


What is asp.net used for?

690


What is hidden field in asp.net?

691


What is the file through which you can customize your asp.net application?

637


What is the difference between session and viewstate in asp.net?

704


Is viewstate secure?

612


6. Tell us about a time when you failed to meet a deadline. What were the repercussions?

1818


What is mvc in asp.net tutorial? : Asp.Net MVC

658