Problem in TreeView Control
-
Actually ,my requirement is ,there is a tree view having context menu.By whcih We can add new node,delete and edit nodes.When user select Add new ,then a window should open,having textbox and add button.by which we can enter name of new node and add it. I got context menu having Add,edit,delete option and when user select add new a window does open having textbox and add button.Problem is that i want to enter that new node as a child node of selected node in to databse.For this i require name of selected node.i want to get node name and context menu on right click on tree view parelally.
-
Actually ,my requirement is ,there is a tree view having context menu.By whcih We can add new node,delete and edit nodes.When user select Add new ,then a window should open,having textbox and add button.by which we can enter name of new node and add it. I got context menu having Add,edit,delete option and when user select add new a window does open having textbox and add button.Problem is that i want to enter that new node as a child node of selected node in to databse.For this i require name of selected node.i want to get node name and context menu on right click on tree view parelally.
use
event.srcElement
to get the element where it is clicked. The pass through querystring inwindow.open
. :cool:Abhishek Sur
My Latest Articles **Create CLR objects in SQL Server 2005 C# Uncommon Keywords Read/Write Excel using OleDB
**Don't forget to click "Good Answer" if you like to.