Multiple click events being fired.

2 posts, 0 answers
  1. Barry
    Barry avatar
    1 posts
    Member since:
    Oct 2010

    Posted 15 Jul 2013 Link to this post

    Having an issue with data binding and click events being fired multiple times.

    I have a master view object that binds data to a view on init.

    View.prototype.init = function (e)
    {
    this.id = e.view.id;
    this.elm = e.view.element;
    this.view = e.view;
            
    this.view.bind('show', this.show.bind(this));
    this.view.bind('hide', this.hide.bind(this));
            
    kendo.bind(this.elm, this.data, kendo.mobile.ui);
    };

    For some reason click events are being fired twice.
  2. Petyo
    Admin
    Petyo avatar
    2444 posts

    Posted 17 Jul 2013 Link to this post

    Hello Barry,

    I am not sure that I understand your case. Can you please showcase it in a sample? You can use the jsbin service for such purposes. 

    Regards,
    Petyo
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top