Solved

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

Posted on 2006-11-12
1
210 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

630 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