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

problem with angular controllers in Mobile Views

1 Answer 53 Views
Integration with other JS libraries
This is a migrated thread and some comments may be shown as answers.
Ewoud
Top achievements
Rank 1
Ewoud asked on 01 Dec 2014, 12:07 PM
Hi support,


I have a problem with the kendo mobile views.

when i create views like the code in the attachment.

the second controller is not invoked, so when i have an event on this controller like : $scope.$on('Passport.Open', function(){ ...... });
the event listener doesn't work.

How can i invoke all controller so all event listeners are setup correctly ??

1 Answer, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 02 Dec 2014, 12:59 PM
Hello Hansdenbraber,

I already replied to your question in the support ticket that you submitted on the same subject.
The problem occurs because both mobile Views has the same ID. To fix the issue please set different IDs to each mobile View.

Regards,
Alexander Valchev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Integration with other JS libraries
Asked by
Ewoud
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Share this question
or