Home - Forums-.NET - FlyTreeView (ASP.NET) - Using contextmenu to dynamically add nodes

FlyTreeView (ASP.NET)

Technical support and KB related to the FlyTreeView control

This forum related to following products: FlyTreeView for ASP.NET

Using contextmenu to dynamically add nodes
Link Posted: 18-Sep-2007 08:05
I am currently using the FlyTreeView asp .net 1.1 version. I would like to use the context menu to dynamically add new nodes to my database bound treeview. I would also like to update my database at the same time with the new node. Does anyone know who to acomplish this in version 1.1?

Thanks.
Link Posted: 18-Sep-2007 08:16
FlyTreeView for ASP.NET 1.1 has the only ability to add nodes - add them from well-formed XML (like in NodeSrc example) using the node.AddNodes(...) method.

Anyway it looks like you rather need to postback to immediately update database. So you can add node at server-side. This way is much more simple, since you just need to handle context menu click and postback page in order to add a node and update database.