Click here to Skip to main content
15,881,737 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I'm trying to get nested hierarchy data from large XML file and show it in a tree structure in MVC application.

I need to considerate performance issue as well, because I'm using a large xml file.
I started with parsing the xml with XmlReader and now i thinking to use XmlSerializer, what do you think?
If the hierarchy in the xml file will be changing when i will add / remove nodes, how to build the xml file that the XmlSerializerwill recognize all the children?

in the end i need to show in the browser tree with expand and collapse ability, and each time to get the expanded nodes from my xml...

Thanks!
Posted
Updated 12-Aug-14 22:41pm
v2

1 solution

view this link for mvc tree view

How to Create TreeView in MVC3[^]

i think it will help you.

Build a custom MVC Tree Control by using jsTree[^]
 
Share this answer
 
Comments
angiangi 13-Aug-14 14:52pm    
Thank you for your comment, i need to do the tree without any js library's...
not even jquery.
Any ideas? tips?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900