Infragistics45.Web.v13.2
I am inside the NodeClick event and would like to get the value of the node but node.get_value(); returns Object doesn't support property or method 'get_value'.
function wdtOrder_NodeClick(sender, eventArgs){ ///<summary> /// ///</summary> ///<param name="sender" type="Infragistics.Web.UI.WebDataTree"></param> ///<param name="eventArgs" type="Infragistics.Web.UI.DataTreeNodeEventArgs"></param>
//Add code to handle your event here. var oNode = eventArgs.getNode(); window.alert(oNode.get_value());}// -->
Hello akcia,
The javascript function for accessing the value of a WebDataTree node is calledget_valueString().Therefore in this case:
oNode.get_valueString() is what should be needed.
Please let me know if this helps.
Thank you, Petar. That is exactly what I needed.
One last thing. Can you point me to the documentation that would explain this?
I regularly use the online documentation and I looked for this specifically in:
CSOM > ASP.NET AJAX CSOM > WebDataTree Libary > Infragistics.Web.UI.Namespace > Classes > Node > Members
I do not see any reference to this.