*edit 2* It's not so moot after all.
It has everything to do with he dock. (Should I move this topic there?)
If I remove the enableviewstate="false" from the DockLayout, the treeview works correctly. But instead I lose my custom dockcommand functionality (adding and removing items on the fly).
Feels like I'm stuck in a catch 22...
*edit* This is a moot point, I figured it out.
I was rebinding the treeview after postback. Not sure why it interfered with an event that is executed before (right?), but it did.
In any case it had nothing to do with the dock as I first thought.
Hi,
I have a treeview inside a combobox, inside a dock. The treeview has checkboxes and no events fire when selecting the boxes.
Once you have selected all checkboxes your heart desires, you click a button which then writes the values of the boxes to a cookie.
However Tree.CheckedNodes.Count is always 0, doesn't matter which or how many checkboxes you check.
I'm using the exact same setup, a treeview within a combobox, but outside of the docks in that same project where it works fine.
I've verified that the event is fired, it's just that for some reason the checked nodes aren't checked... it seems, and I'm having a hard time figuring out why that is.
Any thoughts?
-DJ-
It has everything to do with he dock. (Should I move this topic there?)
If I remove the enableviewstate="false" from the DockLayout, the treeview works correctly. But instead I lose my custom dockcommand functionality (adding and removing items on the fly).
Feels like I'm stuck in a catch 22...
*edit* This is a moot point, I figured it out.
I was rebinding the treeview after postback. Not sure why it interfered with an event that is executed before (right?), but it did.
In any case it had nothing to do with the dock as I first thought.
Hi,
I have a treeview inside a combobox, inside a dock. The treeview has checkboxes and no events fire when selecting the boxes.
Once you have selected all checkboxes your heart desires, you click a button which then writes the values of the boxes to a cookie.
However Tree.CheckedNodes.Count is always 0, doesn't matter which or how many checkboxes you check.
I'm using the exact same setup, a treeview within a combobox, but outside of the docks in that same project where it works fine.
I've verified that the event is fired, it's just that for some reason the checked nodes aren't checked... it seems, and I'm having a hard time figuring out why that is.
Any thoughts?
-DJ-