Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
835
Knowing if CTRL or Shift key down on Expand Node server side event
posted

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.

Parents
No Data
Reply
  • 1923
    Verified Answer
    posted

    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...

Children