Click here to Skip to main content
15,887,349 members
Please Sign up or sign in to vote.
1.00/5 (4 votes)
See more:
i wanna code for image button in html.....
Posted
Comments
Uday P.Singh 4-Mar-13 6:18am    
not clear!
_Amy 4-Mar-13 6:32am    
Then write.

Hi,
Google[^] would help you.
 
Share this answer
 
Here you go:-
html code:
ASP.NET
<asp:imagebutton id="btnSearch" runat="server"
                 ImageUrl="~/Images/search.png"
                 OnClick="Search_Onclick" />

page behind:

C#
protected void Search_Onclick(object sender, ImageClickEventArgs e)
{
  //your code goes here.
}


Good luck, and please search on google before asking any question.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900