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

Bind to Model with no children

1 Answer 30 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jeremy Coenen
Top achievements
Rank 1
Jeremy Coenen asked on 08 Nov 2010, 08:29 PM
I am trying to bind the PanelBar to my model and in the example demo you have - you using the .Children() method that expects an IEunumerable as a parameter.   I just want to bind the child to a property of the model.   Example would be FAQ.Question and FAQ.Answer - what would this syntax look like?

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 09 Nov 2010, 08:14 AM
Hello Jeremy Coenen,

 This is not supported. The Children property is expected to be collection of items. 

Regards,
Atanas Korchev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
PanelBar
Asked by
Jeremy Coenen
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or