After navigating button event is automatically fired

2 posts, 0 answers
  1. ruchin
    ruchin avatar
    33 posts
    Member since:
    Jun 2015

    Posted 21 Jul 2015 Link to this post


    I have button1 on view1(parent view)and button2 on view2(child view).Onclick of button1 the app navigates to the child view.My problem is after navigating to child view it automatically fires the button2 event.It is important to note that button1 and button2 are at the same position although on two different views.

    This problem is persistent on views having buttons or links at same position.

    How can I handle this issue??

    Ruchin Dayal
  2. Martin Yankov
    Martin Yankov avatar
    177 posts

    Posted 23 Jul 2015 Link to this post

    Hello Ruchin,

    Are you using the Kendo UI Mobile framework? If yes, this should not normally happen. Can you please provide a sample app or code, so that I can take a look?

    Other than that, have you tried setting these two lines of code at the end of the click/tap event handler:

    This should stop such unwanted behavior.

    Let me know if this helps.

    Martin Yankov

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

Back to Top