MVVM usage

2 posts, 0 answers
  1. Neeraj
    Neeraj avatar
    139 posts
    Member since:
    May 2015

    Posted 26 Nov 2018 Link to this post

    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? 
  2. Dimitar
    Dimitar avatar
    809 posts

    Posted 27 Nov 2018 Link to this post

    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.

    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