is it possible to execute an Identify Task when right mouse button is clicked instead of left mouse button (map onclick event)?
Yes it should be possible.
This is not an exact example how but shows that it is possible.
One thing to think about though, if the user is using a mobile device they would have to use a two finger click?
Thank you Rickey,
I figured out that I could use mouse-up event and test which button was pressed, then I execute Identify Task (after I disabled right-click context menu).
Retrieving data ...