Model not binding completely to View

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

    Posted 28 Mar Link to this post

    Hi, 

    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: https://dojo.telerik.com/UJaBOKAt

    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, 
    Grant

  2. Veselin Tsvetanov
    Admin
    Veselin Tsvetanov avatar
    974 posts

    Posted 01 Apr 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.

    Regards,
    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