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

data-bind attr in a template returning undefined

4 Answers 125 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 08 May 2012, 03:58 PM
Have a look at the fiddle

http://jsfiddle.net/stevescotthome/SgLsB/5/

So I data-bind attr on the h3, and it works fine...but if I move that same code down into the template, it returns class="undefined"

4 Answers, 1 is accepted

Sort by
0
Accepted
Atanas Korchev
Telerik team
answered on 09 May 2012, 03:18 PM
Hello,

 Indeed this is currently not supported because the current data item does not have an "isSelected" method. We plan to support this scenario with the next official release (the first service pack). The feature would also be available in the next internal build.

Regards,
Atanas Korchev
the Telerik team
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 09 May 2012, 03:20 PM
Ah yeah, so I found out in another thread :)

What's the next internal build ETA, I know you said SP around the end of the month, but my deadline for this is way sooner than that...I can get away with internal for now though.
0
Accepted
Atanas Korchev
Telerik team
answered on 09 May 2012, 03:23 PM
Hello,

 I will send you a private hotfix build in the support ticket which you have opened.

Regards,
Atanas Korchev
the Telerik team
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 09 May 2012, 03:24 PM
Fantastic! 
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