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

Caching MVVM Views and View-Models

1 Answer 96 Views
MVVM
This is a migrated thread and some comments may be shown as answers.
Brian Roth
Top achievements
Rank 1
Brian Roth asked on 03 Oct 2016, 09:58 PM

My app uses both Kendo MVVM and the Kendo Router. When I initialize a Kendo view I provide Kendo with my view and a view-model to bind. The outcome is a view-model and view that are constantly in sync.

I tried to take this a step further by caching the view-view-model results using the URL hash as the primary key/id. When I tried to reload a cached view-view-model the page displays correctly, but none of the binding work.

What am I missing?

Thanks!

1 Answer, 1 is accepted

Sort by
0
Dimiter Topalov
Telerik team
answered on 06 Oct 2016, 05:39 AM
Hi Brian,

Unfortunately we were not able to replicate the described issue, based on the provided information.

Can you please send us an isolated sample runnable project (you can use the Kendo UI Dojo), where the undesired behavior can be observed, so we can inspect it further, and determine what might be causing it?

Thank you in advance.

Regards,
Dimiter Topalov
Telerik by Progress
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
Tags
MVVM
Asked by
Brian Roth
Top achievements
Rank 1
Answers by
Dimiter Topalov
Telerik team
Share this question
or