How to serialize treeview

3 posts, 1 answers
  1. Ed Staffin
    Ed Staffin avatar
    66 posts
    Member since:
    Nov 2008

    Posted 22 Jul 2009 Link to this post

    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. Answer
    Mr. Plinko
    Mr. Plinko avatar
    56 posts
    Member since:
    Jul 2009

    Posted 31 Jul 2009 Link to this post

    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?
  3. Ed Staffin
    Ed Staffin avatar
    66 posts
    Member since:
    Nov 2008

    Posted 01 Aug 2009 Link to this post

    Perfect! The GetXml and LoadXML functions save the day!
    I really appreciate it.
Back to Top