TreeView AfterSelect event issue .NET 1.1

I have two TreeView controls on a Winform (1.1) which interact with one another. The first time that either of the TreeView controls are clicked on it fires the AfterSelect event twice, but only if you have clicked on Node 2 (1 in ordinal value). If you click on the first one you get only one event firing. Using the e.Action property you will always get "Unknown" on the first click even if you clicked with the mouse. If you clicked on the first node it ends there. If you clicked on the second node you will get a second firing "ByMouse"

This is causing me trouble because if I use the e.Action to filter out "Unknown" action clicks then I will never take appropriate action when the user clicks the first node on the first click.

Please Help



Answer this question

TreeView AfterSelect event issue .NET 1.1

  • TreeView AfterSelect event issue .NET 1.1