How can i use an image button?

  • Thread starter Thread starter Miguel Dias Moura
  • Start date Start date
M

Miguel Dias Moura

Hello,

On na ASP.NET/VB web page i have a form and i have this button:
<asp:Button ID="search" runat="server" OnClick="searchGO" Text="search"
/>

I want to use the image search.gif instead of the standard button.
How can I do this?

Thanks,
Miguel
 
Miguel Dias Moura said:
Hello,

On na ASP.NET/VB web page i have a form and i have this button:
<asp:Button ID="search" runat="server" OnClick="searchGO" Text="search" />

I want to use the image search.gif instead of the standard button.
How can I do this?

<asp:ImageButton id="ImageButton1"
ImageUrl="string"
Command="Command"
CommandArgument="CommandArgument"
CausesValidation="true | false"
OnClick="OnClickMethod"
runat="server"/>John Saunders
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top