Hi,
I'm populating a TreeView with nodes from my DB. Those nodes need to be modified by the user selecting an option from a dropdown related to each node, so I decided (based on another post) to generate manually the HTML code for each node. So I generate them with some code like this one:
Code: C#
EO.Web.TreeNode node = new EO.Web.TreeNode();
node.Text = "<SELECT name=........>" + "The Node Name";
...
treeview.Nodes.Add(node);
.
... add more nodes...
.
treeview.ExpandAll();
Then, on postback, I get the selected values accesing the Request.Form collection.
This code works perfectly... BUT only if I, either use the ExpandAll method, or expand manually all the nodes on the client. I've found that if the nodes are never expanded they don't "render" the expected HTML, so the generated SELECTS are not created in the browser and I get a NULL when I try to get the POSTed data...
So, my question is: is there a way to make the treeview to render/generate all the nodes even if they are collapsed?
Thanks in advance,
Luis