Hi guys I want to know how to add image inside button in asp.net
<asp:Button ID="Login" runat="server" Height="27px" OnClick="Login_Click" Text="Log In " Width="92px" EnableTheming="True" />
Why don't you use just a asp:ImageButton Controls
like
<asp:ImageButton ID="ImageButton1" ImageUrl="~/Images/bullet.png" AlternateText="No Image available" OnClick="mymethod" runat="server" />
OR
<button id="Button1" runat="server"><img src="Images/save.png" />Save</button>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With