Bind Treeview

3 posts, 0 answers
  1. Donovan Kruger
    Donovan Kruger avatar
    7 posts
    Member since:
    May 2010

    Posted 25 May 2010 Link to this post


    can you bind the Rad Treeview to a datasource dynamically ?

    I want it to show a list of events from a table.

    Kind Regards
  2. Victor
    Victor avatar
    1358 posts

    Posted 28 May 2010 Link to this post

    Hi Donovan Kruger,

    Thank you for writing.

    All you need is to create a representation of your events that RadTreeView knows how to bind to. Your events table needs to support at least the IList interface in order to make the binding work. You will get best results if you organize your data in a DataTable or DataSet (if you have tables of related events). This way whenever something in your DataSet/DataTable changes, you will not even have to rebind RadTreeView, it will update itself accordingly. Please refer to the section of our online help which describes RadTreeView's data binding mechanism.

    Write again if you need further assistance.

    Sincerely yours,
    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.
  3. Stefan
    Stefan avatar
    2911 posts

    Posted 23 Mar 2011 Link to this post

    Hi Donovan,

    Please note that in Q1 2011 we have introduced a major upgrade of RadTreeView control, which is now virtualized and fully customizable. Feel free to download the latest release and try it out. For more information on our latest release refer to this blog post.

    Kind regards,
    the Telerik team
Back to Top