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

Windows Explorator type funcionallity

1 Answer 32 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Krzysztof
Top achievements
Rank 2
Krzysztof asked on 09 Jul 2008, 11:46 AM
Hi!

I'm using the RadTreeView and the RadGridView control to make a Windows Explorator style funcionality. On the left side of the screen side I have a RadTreeView and on the right I have a RadGridView control.

What I need to do is when I click on a node (whether it's on the plus sign or the title of the node!)  is expand the node one step down and at the same time display records from a table which are the children of the node clicked. See the Windows Explorator to visually see what I'm mean.

I also want to collapse all of the expanded nodes when i click on a node to expand.  For example if I have 4 expanded nodes and I click on another node on the same level that is not yet expanded, I want the rest of the expanded nodes to collapse. Just like in the Windows Explorator tree.

Keep in mind that at the same time I want the radgridview to show the children of the clicked node...so there is a postback.

I tried to look for some methods that I could use but I'm new to the telerik controls so I would really apprieciate any help. Thanks.

1 Answer, 1 is accepted

Sort by
0
Paul
Telerik team
answered on 09 Jul 2008, 12:12 PM
Hello Krzysztof,

Please take a look at our File Browser example that shows a similar functionality.

Greetings,
Paul
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
TreeView
Asked by
Krzysztof
Top achievements
Rank 2
Answers by
Paul
Telerik team
Share this question
or