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

Traverse TreeList

1 Answer 68 Views
TreeList
This is a migrated thread and some comments may be shown as answers.
Avetik
Top achievements
Rank 1
Avetik asked on 24 Oct 2012, 02:23 PM
Hi,

I need to generate custom XML from RadTreeList control. Can you please help me how can I traverse the TreeList. 

Thanks

1 Answer, 1 is accepted

Sort by
0
Marin
Telerik team
answered on 29 Oct 2012, 11:07 AM
Hello,

 You can iterate over the Items collection of the RadTreeList control. Each item has a property: ChildItems which you can also traverse and build the hierarchical structure of the XML. Note that this property holds data only if the item is expanded and it has child items. More information about the server-side API can be found here.

Regards,
Marin
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
TreeList
Asked by
Avetik
Top achievements
Rank 1
Answers by
Marin
Telerik team
Share this question
or