windows explorer type Treeview/Listview structure
-
Hello, I want to make windows explorer type treeview/listview structure. In treeview user can add node, delete node, Edit Node.which are then stored in database and can be reterive from database using combobox to show root. In listview details for selected node can be displayed. also user can resize both views by dragging seperator b/w treeview n listview like v can do in windows explorer. I mean how can v resize both views. Inpreet Singh
-
Hello, I want to make windows explorer type treeview/listview structure. In treeview user can add node, delete node, Edit Node.which are then stored in database and can be reterive from database using combobox to show root. In listview details for selected node can be displayed. also user can resize both views by dragging seperator b/w treeview n listview like v can do in windows explorer. I mean how can v resize both views. Inpreet Singh
This is not a short solution and is not suitable for a forum. It is possible, but you have to provide a heck of a lot of functionality to get it to work (and you'll find that the
TreeView
in the FCL sucks, but it should work for what you need it seems). Search CodeProject for solutions, though. I know I've seen a few that create and synchronizeTreeView
controls with database content. You should also try googling[^]. Some third-party controls already have this capability as well, or at least make it easier. Most aren't very expensive and if you're coding this for any commercial deployment will be most cost-effective if you try and buy these. I recommend the appropriate controls from either http://www.devexpress.com[^] or http://www.infragistics.com[^], both of which I have experience with and like. We use Infragistics UltraWinTree in our product, but only because at the time it was the only choice.Microsoft MVP, Visual C# My Articles