how to link imagebutton to url visual web developer

AAA picture AAA · Aug 8, 2012 · Viewed 23.6k times · Source

I was wondering, is it possible to link an imagebutton to a website? and how? Im using a web forms in visual web developer. thanks.

Answer

sejal patel picture sejal patel · Aug 8, 2012

You can try this

<asp:ImageButton runat="server" ID="ImageButton1" PostBackUrl="http://www.google.com" />