I’m using ext.net with asp.net, I’m generating a tree using server side code:
Ext.Net.Node rootNode = new Ext.Net.Node();
rootNode.Text = "Home";
rootNode.CustomAttributes.Add(new ConfigItem("absoluteNodeUrl", "'" + someValue+ "'", ParameterMode.Value));
I’m trying to get the absoluteNodeUrl attribute like that from client side javascript when a tree node is clicked:
x=node.attributes['absoluteNodeUrl']
but I’m always getting the value of undefiend although this code worked with me before in version 1.3 of ext.net.
how can I modify the client side script to get the custom attribute?
thanks
Custom attribute name must be presented in store’s Model as ModelField (or inside Fields collection of TreePanel)
Please see the following post
http://forums.ext.net/showthread.php?19717-Raw-property-is-null-when-adding-a-node