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

Expanding node on external event

1 Answer 70 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Krzysztof
Top achievements
Rank 2
Krzysztof asked on 23 Jul 2008, 12:53 PM
Hello,

I'd like to know if it's possible to expand a node on an external event. Let's say I have a RadGrid populated with the same records as in the treeview (a record in the grid represent the same node in a treeview). I click on a column in a radgrid (linkbutton) which refrehes the grid with the children of the clicked record. I want the equivalent node to expand in the treeview to show the children nodes. I hope I explained myself well.

Thanks,
Chris

1 Answer, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 24 Jul 2008, 09:03 AM
Hi Krzysztof,

Yes, you can.

You can use the client-side expand() method of a node or set the Expanded property to True sever-side.

I suggest that you check these help articles:
I hope this will get you started.

Greetings,
Veskoni
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
Veselin Vasilev
Telerik team
Share this question
or