Open event is not called with MVVM

2 posts, 0 answers
  1. Matjaz
    Matjaz avatar
    94 posts
    Member since:
    Jun 2014

    Posted 17 Oct 2014 Link to this post

    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.
  2. Alex Gyoshev
    Alex Gyoshev avatar
    2497 posts

    Posted 17 Oct 2014 Link to this post

    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.

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