How to save a TreeView?

  • Thread starter Thread starter Polaris
  • Start date Start date
P

Polaris

Hi Experts:

I'm using ASP.NET 2.0. I'm using a TreeView control with a design-time
configured XmlDataSource (an XML file). I use the TreeView control as a
"message board" with each node representing a message. I noticed that the
TreeView loads alright from the XML file but did not save anything. I call
the TreeView.Save() for each new node added into the TreeView. What I'm
missing here?

Thanks in advance!
Polaris
 
Are you getting any exceptions? Save() method cannot be called under certain
scenarios as outlined in the help for the XmlDataSource.Save() method.
 
Back
Top