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

Remote binding with datasource and templates

4 Answers 231 Views
MVVM
This is a migrated thread and some comments may be shown as answers.
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
sitefinitysteve asked on 25 Jun 2013, 05:02 PM
What am I doing wrong in the below demo?

I want my template to bind to the data in the datasource...trying to follow the demos on the demo page, but...no luck :/

http://jsbin.com/ewojol/2/

4 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 26 Jun 2013, 09:12 AM
Hi,

 Only Kendo widgets can bind to a kendo data source. Set the data-role of your ul so a widget is initialized for it: http://jsbin.com/akusug/1/edit

Regards,
Atanas Korchev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
answered on 26 Jun 2013, 02:57 PM
OH nice!...then I get all the listview goodies too, fantastic

Is there a demo floating around anywhere that you know of which shows listview crud (edit templates) with mvvm + datasouce by anychance?

Tried googling examples, but can't find any.

Steve
0
Atanas Korchev
Telerik team
answered on 28 Jun 2013, 06:59 AM
Hi,

 Perhaps the editing demo of the list view can be modified to use mvvm.

Regards,
Atanas Korchev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
answered on 28 Jun 2013, 12:09 PM
I gave it a try, but something's fishy...

http://www.telerik.com/account/support-tickets/view-ticket.aspx?threadid=710133

Tags
MVVM
Asked by
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
Answers by
Atanas Korchev
Telerik team
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
Share this question
or