How can I create the TreeView dynamically on my ASPX page?
You can programmatically control any TreeView Item at runtime to easily create/manage TreeViews on the fly. Create empty XML Document, set the DataSource property and call the DataBind() method.
myTreeView.DataSource = new XmlDocument();
myTreeView.DataBind();
APNSoft TreeView provides an extremely rich and powerful server-side API allowing developer to add, remove or edit elements and element collections by using the TreeViewElement and TreeViewElementCollection classes.
The Live Demo with code samples is available.