LinkButton as navigator button


I need a way to click on a LinkButton to navigate to a site such as

Thank you!
Who is Participating?
Tom BeckConnect With a Mentor Commented:
You can add an OnClientClick attribute to it: OnClientClick="Navigate()".

function Navigate(){

Or you can use a standard html button.
<input type="button" onclick="location.href="" value="Google" />
If you need to access it from the code behind you can add a runat="server".
Rad1Author Commented:
Great and thank you!!!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.