I'm trying to convert treeview that uses the older htc tag< iewc:treeview>
to use the newer asp treeview tag < asp:TreeView >
. I noticed that the treeview object is different as in the older code uses the import Microsoft.Web.UI.WebControls
compared to the newer code System.Web.UI.WebControls
. Can someone point me in the right direction of converting these data types easily?
To provide a example where I'm having trouble, the old treenode has members which are not found in the newer treenode . For example I can't seem to find the equilavilant for the member NodeData
myTreeNode.NodeData = "test string"
in the treeNode found in System.Web.UI.WebControls
.
This is the link I used for reference for the System.Web.UI.WebControls
treeNode
https://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.treenode(v=vs.100).aspx
However I can't find one for Microsoft.Web.UI.WebControls
.