I am using a treeview populated from a database and I don’t see the following events firing.
AfterCheck (BeforeCheck fires)
Also I cannot see any expand/collapse icons.
I’m using 1.2.51 and Classic-2.
Sorry for the delay. Somehow Frank and I didn’t see the question coming in.
NodeMouseClick and NodeMouseDoubleClick are indeed not firing: WJ-7593
I get BeforeCheck and AfterCheck twice actually: WJ-7594
Tried with Classic-2 and I can see all the icons.
No problem, I had other things to keep me busy in the meanwhile!
Now I’m thinking again about the expand/collapse icons… I only load the first level of my treeview from the database and then I populate each of this top level nodes on click (which does not fire as you confirmed). This means that at first, the nodes have no subnodes until they are clicked and get populated. So, I presume, this is the reason why I cannot see the expand icon. I’ll check again after the click event is fixed.
Sure, also when you want to “load on demand” you can set the node.IsParent = true. This will make the node look like it has children, then when you expand it you can process the BeforeExpand event to populate the child nodes – in the meantime Wisej will change the node icon to a small ajax loader.