Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: Image on Button???


Message #1 by "NaveenG" <naveeng@s...> on Sat, 20 Oct 2001 09:59:56 +0530
In ASP, Can we have an Image on Buttons, like Imagebutton what we have in

java?

If so what kind of Images we can put? Do we have to go for any ActiveX

controls???



-Nav



Message #2 by Greg Griffiths <griffiths@x...> on Sun, 21 Oct 2001 18:33:33 +0100
Not directly, but you can use an image as a button :



<a href="mylink.html"><img src="mypic.gif"></a>



OR



<a href="javascript:document.myForm.submit()"><img src="submitBtn.gif"></a>



At 09:59 20/10/01 +0530, you wrote:

>In ASP, Can we have an Image on Buttons, like Imagebutton what we have in

>java?

>If so what kind of Images we can put? Do we have to go for any ActiveX

>controls???

>

>-Nav

>

>








Message #3 by "Simon Garstin" <sales@o...> on Sat, 20 Oct 2001 15:53:36 +0100
Try <input type="image".....> a fairly recent addition to HTML forms.



----- Original Message -----

From: NaveenG <naveeng@s...>

To: ASP Web HowTo <asp_web_howto@p...>

Sent: Saturday, October 20, 2001 5:29 AM

Subject: [asp_web_howto] Image on Button???





> In ASP, Can we have an Image on Buttons, like Imagebutton what we have in

> java?

> If so what kind of Images we can put? Do we have to go for any ActiveX

> controls???

>

> -Nav


  Return to Index