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

Trouble with Checkboxes

3 Answers 123 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 13 Sep 2012, 04:35 PM
Hi,

Both Template and CheckboxTemplate do not seem to affect my nodes that have been created through BindTo.  Special characters in the templates are also resulting in their escaped source code representations such as "\u0027".  Can you guys please provide some advice and perhaps an example of a databound TreeView created through the Fluent API that uses checkboxes?  Thanks. 

3 Answers, 1 is accepted

Sort by
0
Bruno
Top achievements
Rank 1
answered on 17 Sep 2012, 07:54 PM
I´m having the same problem, seems that if you are not a MVP user, your question is ignored!

http://www.kendoui.com/forums/ui/treeview/help-with-checkboxtemplate.aspx

Can someone answer?!
0
Gajanan
Top achievements
Rank 1
answered on 28 Feb 2013, 06:51 AM
I am facing same problem . Can anybody suggest solution on this.
0
Alex Gyoshev
Telerik team
answered on 05 Mar 2013, 07:59 AM
Both the Template and CheckboxTemplate fields define a client-side template, and BindTo renders the items from the server (thus, cannot apply the template). If you use the DataSource binding and set its Data, the data will be rendered on the client along with the template. We will be modifying the BindTo method to do this automatically, but until we do, provide the data directly to the DataSource.
 

Regards,
Alex Gyoshev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
TreeView
Asked by
David
Top achievements
Rank 1
Answers by
Bruno
Top achievements
Rank 1
Gajanan
Top achievements
Rank 1
Alex Gyoshev
Telerik team
Share this question
or