Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
740
How do I set the value of a webdatatree node using javascript?
posted

I have a slider control and a webdatatree on a page.

when the slider value changes it fires a javascript function that then updates the value of the active node.

it appears to work on the client side as I can put a break right after I call set_valueString for the active node and it returns the the correct new value.

however, on post back, when I spin through the nodes, this node that was edited has a value of "" not the new value and not the original value it had when I first loaded the page.

javascript ---

var oActiveNode = oTree.get_activeNode();
oActiveNode.set_valueString(eventArgs.get_newValue());

is there a different method to set the node value via javascript?

Version=13.2.20132.2028