Page 1 of 1

ASP.NET - trapping right mouse click

Posted: Thu Feb 21, 2008 7:38 pm
by 14046718
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

Posted: Fri Feb 22, 2008 9:48 am
by narcis
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.