Model not binding completely to View

2 posts, 0 answers
  1. Grant
    Grant avatar
    174 posts
    Member since:
    Jul 2016

    Posted 28 Mar 2019 Link to this post


    As my title suggests, I have a Model object that is not binding entirely to the view I've assigned it to and I dont know what else to do.
    Example here:

    I've created a Window and bound the contents to a view model. when init. the principal and customer account comboboxes should be disabled, and the values of these combo boxes are binding to the viewmodel's attributes. There are console logs printing the view model on change to be sure.

    Do you have any advice on how to resolve this?

    Thanks and kind regards, 

  2. Veselin Tsvetanov
    Veselin Tsvetanov avatar
    1231 posts

    Posted 01 Apr 2019 Link to this post

    Hi Grant,

    As far as I can see, the Dojo sample sent mixes MVVM binding configuration with jQuery initialization of the widgets. Nevertheless, in order to properly assign the bound values to the Kendo components, you will need to be consistent and use the MVVM approach.

    Here you will find a modified version of the Dojo, which uses MVVM configuration and initialization.

    Veselin Tsvetanov
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top