Hi Thanks. I tried thsi below, but I get an error on XMLElement. Could you help me please.
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
Protected Sub treeViewCakeLayers_NodeDataBound(ByVal sender As System.Object, ByVal e As NineRays.WebControls.FlyTreeNodeEventArgs)
e.Node.Attributes("IsSecurement") = DirectCast((DirectCast(e.Node.DataItem, IHierarchyData)).Item, XmlElement).Attributes("IsSecurement").Value
End Sub