Template with programmatic databinding?

2 posts, 0 answers
  1. Cory Hudson
    Cory Hudson avatar
    12 posts
    Member since:
    Nov 2008

    Posted 24 Jul 2009 Link to this post

    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?
  2. Genady Sergeev
    Genady Sergeev avatar
    1595 posts

    Posted 28 Jul 2009 Link to this post

    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.
  3. DevCraft R3 2016 release webinar banner
Back to Top