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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top