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

Model not binding completely to View

1 Answer 44 Views
MVVM
This is a migrated thread and some comments may be shown as answers.
Grant
Top achievements
Rank 3
Iron
Iron
Veteran
Grant asked on 28 Mar 2019, 11:00 AM

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 know what else to do.
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 should be disabled, and the values of these combo boxes are binding to the attributes. There are console logs printing the view model on to be sure.

Do you have any advice on how to resolve this?

Thanks and kind regards, 
Grant

1 Answer, 1 is accepted

Sort by
0
Veselin Tsvetanov
Telerik team
answered on 01 Apr 2019, 08:03 AM
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.
Tags
MVVM
Asked by
Grant
Top achievements
Rank 3
Iron
Iron
Veteran
Answers by
Veselin Tsvetanov
Telerik team
Share this question
or