Search code examples
asp.netwebformsvisual-web-developer-2010

how to link imagebutton to url visual web developer


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.


Solution

  • You can try this

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