Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspdotnet_website_programming thread: Right click event


Message #1 by "laurent" <lolo3129@f...> on Tue, 27 Aug 2002 13:44:11
Hi,

do someone know how to handle right-clic Event for buttons ?

thanks,
         Laurent

Message #2 by David Barnes <DavidB@w...> on Tue, 27 Aug 2002 14:28:46 +0100
Hi Laurent

The events that you can receive from an ASP.NET page are limited to the
events supported by HTML and JavaScript in a web browser. As far as I know,
web browsers do not allow JavaScript to detect a right-click event -- so
ASP.NET is unable to detect it too.

This is fair enough really, since ASP.NET pages should be accesible from any
computer -- and Macs don't even have a right hand mouse button!

David

> -----Original Message-----
> From: laurent [mailto:lolo3129@f...]
> Sent: Tuesday, August 27, 2002 2:44 PM
> To: Website Programming with ASP.NET
> Subject: [aspdotnet_website_programming] Right click event
> 
> 
> Hi,
> 
> do someone know how to handle right-clic Event for buttons ?
> 
> thanks,
>          Laurent
> 
> 
Message #3 by Scott McLeod <scott@s...> on Wed, 28 Aug 2002 09:16:21 +1200
Have you seen
http://msdn.microsoft.com/library/default.asp?url=3D/workshop/author/dhtm
l
/reference/events/oncontextmenu.asp

IE only

Scott

Hi,

do someone know how to handle right-clic Event for buttons ?

thanks,
         Laurent



  Return to Index