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

Open event is not called with MVVM

1 Answer 51 Views
Window
This is a migrated thread and some comments may be shown as answers.
Matjaz
Top achievements
Rank 1
Matjaz asked on 17 Oct 2014, 06:16 AM
If I manually create window (.kendoWindow()) the open event is called when window automatically open for the first time.
But not if initialize with MVVM.

Just in case link.

1 Answer, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 17 Oct 2014, 08:54 AM
Hello Matjaz,

This happens because data binding is evaluated after the widget is created. In the case of the window, since it is already opened, the open event is not triggered. If you need code to be executed upon the load of the app, you can do so after the kendo.bind call.

Regards,
Alex Gyoshev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Window
Asked by
Matjaz
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Share this question
or