ASP.NET - trapping right mouse click

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
richheim
Newbie
Newbie
Posts: 58
Joined: Tue Sep 18, 2007 12:00 am

ASP.NET - trapping right mouse click

Post by richheim » Thu Feb 21, 2008 7:38 pm

Hi,

I'm trying to port a Windows Form app that uses steema charts to an ASP.NET version also using steema.
The first issue I see is - in windows forms it seems very simple to capture a right mouse click on a tchart. I can't see how this is done is ASP.NET. For example, say I want a user to be able to right mouse click on a series instance and have my own custom menu pop-up....What event would trigger this? How do I capture this in ASP.NET code?

thanks
Rich

PS - we are using the C# language

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Feb 22, 2008 9:48 am

Hi Rich,

I'm afraid this is not possible because the PostBackDataHandler.LoadPostData method provides no information as to which mouse button was clicked, only the x and y relative positions. I think this is true for all ASP.NET server controls.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply