This is a migrated thread and some comments may be shown as answers.

TreeView and GridView

1 Answer 72 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Srujana
Top achievements
Rank 1
Srujana asked on 18 Mar 2011, 10:30 PM
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.

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 21 Mar 2011, 11:50 AM
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.
Tags
TreeView
Asked by
Srujana
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or