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

Model View with back button

1 Answer 74 Views
MVVM
This is a migrated thread and some comments may be shown as answers.
Brad
Top achievements
Rank 1
Brad asked on 11 Jan 2016, 04:56 PM
 I created a kendo dojo snippet to show you. However, there is a difference. In my code I want it to do an ajax read instead of a ds of a local js object. The behavior I'm seeing is happening in this template as well so I think you can understand what I am trying to do. First I pull a list of classes, then when you click one you go to the detail view. If you click the back link to go back to the list, and click another item from the list. You go to the detail page, but the same detail from the previous click is shown. I think I don't understand completely how the model is bound to the view, because I would think it would update the detail.

http://dojo.telerik.com/@bradrice/iTerE

1 Answer, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 13 Jan 2016, 01:17 PM
Hi Brad,

I found a very simple example which illustrates how to achieve the detail view scenario.

Pay attention how the selected field is updated.

Note that in order the back button to work you have to run the snippet in a full screen (press the full screen button in Kendo Dojo).

Regards,
Alexander Valchev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
MVVM
Asked by
Brad
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Share this question
or