Hello mike scardina,
This behavior is due to the fact that the previously selected nodes are cleared on MouseUp
because of certain drag and drop scenarios with multiple nodes. However, you are right that this is not entirely correct behavior. It will be corrected in the next service pack of RadControls for WinForms.
For now, you could check if Ctrl
key is pressed in the following way:
|void radTreeView1_Selected(object sender, EventArgs e)
| bool multiSelect = (Control.ModifierKeys == Keys.Control || Control.ModifierKeys == Keys.Shift);
| int selectedNodeCount = (multiSelect) ? this.radTreeView1.SelectedNodes.Count : 1;
I hope this helps. If you have any further questions, please contact me.
the Telerik team