Solved

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

Posted on 2006-11-12
1
207 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
ID: 17928265
I think you can use ImageButton instead of standard Button
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

810 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