Solved

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

Posted on 2006-11-12
1
205 Views
Last Modified: 2010-04-16
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
Comment
Question by:blakmoon91
1 Comment
 
LVL 13

Accepted Solution

by:
dungla earned 225 total points
Comment Utility
I think you can use ImageButton instead of standard Button
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video discusses moving either the default database or any database to a new volume.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now