This is a migrated thread and some comments may be shown as answers.
Template with programmatic databinding?
1 Answer 57 Views
This is a migrated thread and some comments may be shown as answers.
Cory Hudson
Top achievements
Rank 2
Cory Hudson asked on 24 Jul 2009, 07:11 PM
Is it possible to use the templating features of the RadListBox when binding data programmatically?  Or, is it possible to build templates in a programmatic way so as to handle things all in the code behind?

Lastly, it seems as it the documentation for this control is not quite complete, is this just because it is so new?

1 Answer, 1 is accepted

Sort by
0
Genady Sergeev
Telerik team
answered on 28 Jul 2009, 01:27 PM
Hello Cory Hudson,

You can find a sample demonstrating how to create databound templates programatically as an attachment. Keep in mind that your RadLsitBox should be bound to a DataSource, dynamic templates does not work with static data. (This means hardcoded items in the aspx page). Also this article may come handy.

In concern with the help question - yes, since RadListBox is relatively new (from Q2) its help is not yet fully completed. We are doing our best to fill the gaps as soon as possible.

Kind regards,
Genady Sergeev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Asked by
Cory Hudson
Top achievements
Rank 2
Answers by
Genady Sergeev
Telerik team
Share this question
or