This is a migrated thread and some comments may be shown as answers.

Multiple click events being fired.

1 Answer 51 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Barry
Top achievements
Rank 1
Barry asked on 15 Jul 2013, 02:44 PM
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.

1 Answer, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 17 Jul 2013, 07:38 AM
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!
Tags
General Discussions
Asked by
Barry
Top achievements
Rank 1
Answers by
Petyo
Telerik team
Share this question
or