Hi Velma and Steve ,
First, on the ClientDataKeyNames
. This property follows the logic of our other databound controls (like RadGrid). The DataKeyNames
property is used for creating such collection on the server. It would not be good for performance to create it on the client by default when it is not needed in many cases. Therefore, a separate property is used to mark which values need to be stored on the client too.
The need of using the ClientDataKeyNames property is outlined in the get_dataKeyValue() property description
The treelist documentation is still being built and parts are still missing but main client-side specifics are already described in the Client-side programming section.
As for server-side iteration over the selected items, Steve, have you tried iterating the SelectedItems collection of the RadTreeList control and then the ChildItems collection of each selected item to access all needed values:
sender, EventArgs e)
keyValue = item.GetDataKeyValue(
childKeyValue = childItem.GetDataKeyValue(
the Telerik team