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

How to serialize treeview

2 Answers 98 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Ed Staffin
Top achievements
Rank 1
Ed Staffin asked on 22 Jul 2009, 11:53 AM
I need to pass a treeview to a webservice. Has someone figured out how to serialize a tv?
If so I could sure use a pointer in the right direction.
Thanks ... Ed

2 Answers, 1 is accepted

Sort by
0
Accepted
Mr. Plinko
Top achievements
Rank 1
answered on 31 Jul 2009, 05:05 PM
serialize radtreeview to xml?

to save the data locally and without needing to connect to a database for binding you can use the LoadXML and SaveXML methods

i.e.
radTreeView1.LoadXML(@"c:\mytreeview.xml");
radTreeView1.SaveXML(
@"c:\mytreeview.xml");

helpful?
0
Ed Staffin
Top achievements
Rank 1
answered on 01 Aug 2009, 12:16 PM
Perfect! The GetXml and LoadXML functions save the day!
I really appreciate it.
Tags
TreeView
Asked by
Ed Staffin
Top achievements
Rank 1
Answers by
Mr. Plinko
Top achievements
Rank 1
Ed Staffin
Top achievements
Rank 1
Share this question
or