I have 2 questions about RADTreeView for WPF:
1) I need to store a value alongside header in my tree nodes. Every tree node will have the follwoing information:
However, only Name will be visible in the tree (stored as Header). Record # will not be visible but should be stored for background processing. Other tools typically have a Value property alongside Header (or Text). Does Telerik's TreeView allow for storing other data elements in a node?
2: I have a ContextMenu in my tree. Here is the code for the menu's click event:
private void TreeContextMenu_ItemClick(object sender, Telerik.Windows.RadRoutedEventArgs e)
// Get the clicked context menu item
RadMenuItem menuItem = ((RadRoutedEventArgs)e).OriginalSource as RadMenuItem;
string header = menuItem.Header as string;
// code to insert a new node below the highlighted node.
// code to delete the highlighted node in the tree.
A) How can I insert a new node below the currently selected node in the tree?
B) How can I delete the currently selected node?