Solved

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

Posted on 2006-11-12
1
206 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Data Saving 5 56
Stream.BeginRead and Stream.EndRead in .NET Core 5 38
Host asp.net pages 5 26
Page navigation in windows phone 8.1 application not working. 5 19
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…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

863 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

26 Experts available now in Live!

Get 1:1 Help Now