Hi,
I have a radTreeView where I am adding nodes dynamically in form load event. I am assigning a forecolor to it.
The nodes show up blue perfectly. but the problem is after the initial page_load is complete, whenever I am deleting/editing or adding a node in the tree, a ajax postback takes place and the blue color disappears. it changes back to default black color.
How can I keep the custom colored nodes across postbacks?
I have a radTreeView where I am adding nodes dynamically in form load event. I am assigning a forecolor to it.
RadTreeNode nodeLevel3 =
new
RadTreeNode(nodeNameL3, nodeIDL3);
nodeLevel3.Checkable =
true
;
nodeLevel3.ContextMenuID =
"ctxMenuDisabled"
;
nodeLevel3.ForeColor = System.Drawing.Color.Blue;
parentNode.Nodes.Add(nodeLevel3);
The nodes show up blue perfectly. but the problem is after the initial page_load is complete, whenever I am deleting/editing or adding a node in the tree, a ajax postback takes place and the blue color disappears. it changes back to default black color.
How can I keep the custom colored nodes across postbacks?