Hi Marc,
In the current scenario I would recommend the following approach:
- Attach a handler to the pan event and raise a flag once it's triggered
- Once the click event handler is reached check the flag. If it it's raised then the user has panned, so there is no need to execute the logic in the click event handler.
- At the end of the click handler lower the flag.
Regards,
Alexander Popov
Telerik
Check out the new Telerik Platform - the only modular platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native apps. Register for the free online keynote and webinar to learn more about the Platform on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT).