Gesture Events Not Firing

3 posts, 0 answers
  1. Michael
    Michael avatar
    3 posts
    Member since:
    Mar 2014

    Posted 27 Jun 2014 Link to this post

    Hi. I'm trying to get a sample application for pinch and zoom working. However, so far I have not had my handlers to be called even once.

    Am I doing something wrong here?
            public Form1()
                radPanel1.PanGesture += new PanGestureEventHandler(ProcessPan);
                radPanel1.ZoomGesture += new ZoomGestureEventHandler(ProcessZoom);
  2. Michael
    Michael avatar
    3 posts
    Member since:
    Mar 2014

    Posted 01 Jul 2014 in reply to Michael Link to this post

    Well i ended up working it out.

    you cannot use EnableGesture in the Ctor simple as that.

    I moved it to OnLoad and everything is fine now.
  3. DevCraft R3 2016 release webinar banner
  4. Dess
    Dess avatar
    1559 posts

    Posted 01 Jul 2014 Link to this post

    Hello Michael,

    Thank you for writing.

    I am glad that the issue you were facing is now resolved. As you have already found out, it is necessary to enable gestures in the Form.Load event. Please do not hesitate to contact us if you have any additional questions.

    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
Back to Top