Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 212
  • Last Modified:

Asp:Button change to use a image to submit the form

Group,
I have a form with the following code that I would like to use a image to replace the standard image, could you give me some insight into it? Your help is appreciated!

<form id="productdetail" method="post" runat="server" >
                            <asp:HiddenField ID="hf_iid" runat="server" />
                        <asp:HiddenField ID="hf_sessionid" runat="server" />
                        <asp:HiddenField ID="hf_cid" runat="server"  />
                        <asp:HiddenField ID="hf_aid" runat="server"  />
                        <asp:HiddenField ID="hf_bid" runat="server"  />                        
                        <asp:HiddenField ID="hf_quantity" runat="server"  />                        
                        <asp:Button ID="Button1" OnClick="submit_inserttocart" Text="Submit" runat="server" /></td>
                     </form >

the image I want to use is images/skins/default/cart_add.jpg
0
blakmoon91
Asked:
blakmoon91
1 Solution
 
dunglaCommented:
I think you can use ImageButton instead of standard Button
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now