Hi, I added an attribute into each node of a radtreeview (server side) : node.Attributes.Add("nodeType", "image");
Next, in javascript (client side), I tried to get the value of the attibute, but the attribute 'nodeType' of the node clicked is undefined.
Is it normal ? How may I to resolve it ?
function RadTreeViewAfterClientClick(node,afterClientClickFct){
if(node != null){
var atts = node.get_attributes();
var nodeType = atts.getAttribute('nodeType'); /*(Undefined)*/
}
}
Thanks in advance,
Next, in javascript (client side), I tried to get the value of the attibute, but the attribute 'nodeType' of the node clicked is undefined.
Is it normal ? How may I to resolve it ?
function RadTreeViewAfterClientClick(node,afterClientClickFct){
if(node != null){
var atts = node.get_attributes();
var nodeType = atts.getAttribute('nodeType'); /*(Undefined)*/
}
}
Thanks in advance,