I have bound a dataset to webdatatree at runtime and also have checkboxes visible and set to Bistate. First of all when I check a checkbox the CheckBoxSelectionChanged does not fire until after a postback. Secondly, after I select several checkboxes in the tree I press a button that causes a postback to run a report. In the button vb.net code I want to get the WebDataTree1.CheckedNodes.Count, but it is always 0 because the postback happens before this code is processed and the webdatatree checked boxes are not checked anymore. How do I get the checked nodes before the postback and/or keep the nodes checked after the postback?
trav,
I actually do not use the checkboxes anymore in my project but not because I did not get it to work but from what I noted I used this...
Dim
node As Infragistics.Web.UI.NavigationControls.DataTreeNode
Next
I think this is all you need to do.
jcom, or anyone from Infragistics, could you explain what you had to do to get the checked nodes? I'm using load on demand so in the Page_Load event i set the datasource. I check a few nodes and I have a "Select" button that triggers a postback. In that select click event handler I want to get the checked nodes from the tree but the tree.CheckedNodes is ALWAYS empty.This seems pretty simple but I can't figure it out. What am I missing? Can someone help please?
No need to reply, I figured it out.