Genpact Cora Knowledge Center

Support

Add a Background Image to a Button

Use this code sample to add a background image to a button.

<sq:Button runat="server" Text="Submit" CommandName="SaveAll" CommandArgument="1" cssClass="ApproveBTN">
<Image IsBackgroundImage="true" ImageUrl="/Shared Resources/Images/Approval/Approve.jpg" />
</sq:Button>