Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Use Image as a button

Reply
Thread Tools

Use Image as a button

 
 
Samuel
Guest
Posts: n/a
 
      03-24-2009
Hi

I would like to get the functionality of clicking on a button (ASP) when the
user clicks on an image.

Thank you
Samuel


 
Reply With Quote
 
 
 
 
Samuel
Guest
Posts: n/a
 
      03-24-2009
LinkLabel !!


"Samuel" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi
>
> I would like to get the functionality of clicking on a button (ASP) when
> the user clicks on an image.
>
> Thank you
> Samuel
>



 
Reply With Quote
 
 
 
 
Eric
Guest
Posts: n/a
 
      03-25-2009
You can also create a hotspot in the size of the image and then connect it to
the image.

'suppose the image is 10x10 pixels
dim hs as new hotspot
hs.left = 10
hs.right = 20
hs.top = 10
hs.bottom = 20
hs.HotSpotMode = HotSpotMode.Navigate
hs.NavigateUrl = "......" 'the link you want to go to

dim im as image.fromfile(.....)
im.hotspots.add(hs)

hotspotmode also has more option that could be interresting.

rg,
Eric


"Samuel" wrote:

> LinkLabel !!
>
>
> "Samuel" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Hi
> >
> > I would like to get the functionality of clicking on a button (ASP) when
> > the user clicks on an image.
> >
> > Thank you
> > Samuel
> >

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP.NET Error redirect then use Back button (or programmed button) phancey ASP .Net 3 02-23-2008 03:51 PM
image button as a back button Chicagoboy27 ASP .Net 2 10-30-2006 05:00 PM
Changing a HTML submit button that requests a Servlet, to an image button? How? James Storey via JavaKB.com Java 7 04-08-2005 06:10 PM
image button click event fires before click event of button Purvi T ASP .Net 0 10-19-2004 06:19 AM
Image button acting like submit button. Russell ASP .Net 3 06-24-2004 01:55 AM



Advertisments