Treeview problem [modified]
-
Hi Friends, I created treeview with checkbox. When user clicked on checkbox of any node of treeview how do I know that checked node is parent node or not?Please help? There is no event that send treenode as sender. All Event send whole treeview as sender? please Help ? Suhas Bothe -- modified at 7:57 Thursday 9th November, 2006 Suhas Bothe
-
Hi Friends, I created treeview with checkbox. When user clicked on checkbox of any node of treeview how do I know that checked node is parent node or not?Please help? There is no event that send treenode as sender. All Event send whole treeview as sender? please Help ? Suhas Bothe -- modified at 7:57 Thursday 9th November, 2006 Suhas Bothe
Hi, the node that has been checked is supplied in the TreeViewEventArgs of the event. Use its ParentNode property to determine whether it has a parent or is a top level node. Robert
-
Hi, the node that has been checked is supplied in the TreeViewEventArgs of the event. Use its ParentNode property to determine whether it has a parent or is a top level node. Robert
There are no any Propety for System.EventArgs e. please can you explain in details?
-
Hi, the node that has been checked is supplied in the TreeViewEventArgs of the event. Use its ParentNode property to determine whether it has a parent or is a top level node. Robert
Can you explain in details please. suhas bothe
-
There are no any Propety for System.EventArgs e. please can you explain in details?
If you catch the AfterCheck event you will get TreeViewEventArgs and not EventArgs. I assume you probably used the Click event so far. Use AfterCheck instead and you'll be fine. Robert
-
Can you explain in details please. suhas bothe
The 'AfterCheck' event occurs after the tree node check box is checked. Just delegate this event and in the function you'll get 'TreeViewEventArgs' as the second parameter. It would have all the information you are looking out for. For more details you can refer to the 'AfterCheck' help in MSDN.
There are two types of fools in this world: One who give advice and the others who do not take it...