Click to See Complete Forum and Search --> : [RESOLVED] TreeView problem


vkor
June 5th, 2009, 01:45 PM
Ok, so probably (hopefully) I'm just making some silly mistake, but for some reason I have to click a node in a treeview twice for it to register as selected. I've checked with treenode.isselected() and treeview.selectednode() and with both two clicks is required to show the selected node (1 click continues showing the previously selected node as selected) while the visual highlight/selection works perfectly with 1 click.

Any suggestions on what may be wrong/how it could be fixed? (The node selection code is in the nodeclick event)

vkor
June 5th, 2009, 01:53 PM
Ah ok nvm It was a stupid problem. Works fine in Afterselect event... silly vb.net =/