I'm wondering how I can know if the CTRL or Shift (or for that matter, the Alt) keys are held down when the user clicks on the Expand Node + sign.
My application 'hides' some tree elements in some cases, and I want the user to be able to hold the CTRL key down when they click and see the hidden items.
Of course I can see these on the client side, but am being challenged seeing them on the server side.
If you've got some client side events listening for keys pressed and perhaps storing a variable of whether control, shift or alt is down, you could store the variable in a hidden field as well which would be available server side...
I suppose that could work, but I was looking along the line of event arguments coming in.
There is currently no data about whether any accelerator keys (such as "Control" or "Shift") are pressed in the server-side NodeExpanded event of WebTree.
The advice given by dtnixon is the best approach, by using client-side events to store the state of these accelerator keys in a hidden field.