This article explains how to use the ASP.NET TreeView
control to edit an XML file which resides on the same server. The origin of
this article starts when there was a demand from the end users to create an
Admin section to edit a configuration XML file for an internal ASP.NET
application. The functionalities of the application were completely
configurable and the configuration values were kept in this particular XML
file. To edit this XML file, the admins had to login in to the server which
hosted the application and edit the XML file using a text editor which was
tedious.
After some research I developed a control panel for the
application which uses TreeView Control and a TextBox control to edit the
configuration XML File.