We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Event for Right click

Hi,

Is there any option to fire a "Right click" event?

kindly provide with sample.

If it is not possible can you please suggest work around for this (except double click event).

Regards,

Rajkumar

Hi,


There is no server side event to accomplish it. I think we can use mOnMouseDown function for your needs on the client side in Javasacript.
E.g
Sample code:

Function dealOnRightClick (e)
{
//…
}
function mOnMouseDown(e)
{

//…
//at the end of mOnMouseDown call your function
if(e.which==3)
dealOnRightClick(e)

}
//etc.
Thank you.