TreeView and GridView

2 posts, 0 answers
  1. Srujana
    Srujana avatar
    38 posts
    Member since:
    Jan 2011

    Posted 18 Mar 2011 Link to this post

    Hello,

    I am trying to implement a web page with Ajax controls Treeview(on left side) and Gridview(on right side), treeview has like 6 levels of heirachy, and everytime the node is clicked, I display the list under that node in the a Grid on right side, the Grid has edit/New/Delete functionality,I am just trying to see if it would cause any issues on having 2 ajax controls side by side, or using userconrols would make it any better? If you know any  better approach or If there is any code example that would demonstate what I am trying to do, I would certainly appriciate it.

    Thanks,
    SC.
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 21 Mar 2011 Link to this post

    Hello Nagendra,


    One suggestion would be rebinding the grid in NodeClick event of RadTreeView. Now in the NeedDataSource event get the SelectedNode and populate the grid by preparing approprate query to set DataSource.

    More information about this approach can be found here:
    How to get radtreeview selected node ID


    Thanks,
    Princy.
Back to Top