I am populating a RadTreeView with a DataTable in c# with the display nodes showing CompanyNames, but I am not seeing any kind of hidden value attribute (CompanyID) in the source code when I view it from a browser.
I assigned the DataFieldID's in the .aspx page but I do not see how I am supposed to retrieve the ID in the Code-Behind?
treeManageUsers.DataTextField = "CompanyName";
treeManageUsers.DataFieldID = "CompanyID";
treeManageUsers.DataValueField = "CompanyID";
treeManageUsers.DataSource = treeDT;
treeManageUsers.DataBind();
<telerik:RadTreeView runat="server" ID="treeManageUsers" Skin="Telerik"
OnNodeClick="treeManageUsers_NodeClick"
DataTextField="CompanyName"
DataFieldID="CompanyID">
</telerik:RadTreeView>
I assigned the DataFieldID's in the .aspx page but I do not see how I am supposed to retrieve the ID in the Code-Behind?
treeManageUsers.DataTextField = "CompanyName";
treeManageUsers.DataFieldID = "CompanyID";
treeManageUsers.DataValueField = "CompanyID";
treeManageUsers.DataSource = treeDT;
treeManageUsers.DataBind();
<telerik:RadTreeView runat="server" ID="treeManageUsers" Skin="Telerik"
OnNodeClick="treeManageUsers_NodeClick"
DataTextField="CompanyName"
DataFieldID="CompanyID">
</telerik:RadTreeView>