Rad tree binding

2 posts, 0 answers
  1. Ayesha
    Ayesha avatar
    110 posts
    Member since:
    Jun 2009

    Posted 23 Jul 2009 Link to this post

    Hi ,

    I've radtreeview. How do i bind it my database data.
    I'm using LINQ to generate data.
    So, how do i dynamically bind the data  to a treeview in c# web forms.

    How do i have expand and collapse treeview items.

  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 23 Jul 2009 Link to this post

    Hello Zaheka,

    You can bind your TreeView either using LinqDataSource as demonstrtaed in the demo below:
    LinqDataSource

    or you can query your linq inorder to retrieve the collection of data and then bind the TreeView to that collection.

    Thanks
    Princy.
Back to Top