TreeView - load Data

1 Answer 97 Views
TreeView
Peter
Top achievements
Rank 1
Iron
Iron
Peter asked on 25 Jan 2023, 12:57 PM

Hi, could you advice me please, how can I load data from XML or JSON to TreeView.

Thanks

Peter

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 28 Jan 2023, 01:26 PM

Hello Peter,

You need to parse the content into a collection of C# models so that you can give those to the treeview per its data binding capabilities.

Regards,
Marin Bratanov
Progress Telerik

Learn about the important changes coming in UI for Blazor 4.0 in January 2023!
Tags
TreeView
Asked by
Peter
Top achievements
Rank 1
Iron
Iron
Answers by
Marin Bratanov
Telerik team
Share this question
or