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

MVVM usage

1 Answer 32 Views
MVVM
This is a migrated thread and some comments may be shown as answers.
Neeraj
Top achievements
Rank 1
Veteran
Neeraj asked on 26 Nov 2018, 08:08 AM
Hello, please find the attached file and let me know if we can use mvvm model in this scenario or not. I have 2 ViewModels . I want to have 3 ViewModels in this attached View. Is it possible? 

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 27 Nov 2018, 11:37 AM
Hello Neeraj,

You should be able to bind different ViewModels to different parts of the page. Here is a simple Dojo example that demonstrates this. However, I would suggest using a single ViewModel per page, so that you could avoid issues/conflicts with model data sharing.

Regards,
Dimitar
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
Neeraj
Top achievements
Rank 1
Veteran
Answers by
Dimitar
Telerik team
Share this question
or