Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# ASP.NET
can we use image instead of button in asp.net using C#, i want to use image button instead of button control of asp.net. how can i do it??
Posted 15-Feb-12 7:22am
Comments
manognya kota at 15-Feb-12 12:43pm
   
For what do you want to use image button?
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

Yes you can use image button
 
<asp:ImageButton ID="btnIamge" runat="server" ImageUrl="mybutton.jpg"
            onclick="btnIamge_Click" />
 
in c# code
protected void btnIamge_Click(object sender, ImageClickEventArgs e)
    {
 
    }
  Permalink  

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



Advertise | Privacy | Mobile
Web01 | 2.8.1411023.1 | Last Updated 16 Feb 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100