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
380
WinTree catch key repeat
posted

I have a tree with thousands of node when the node is selected it makes a WCF call and loads details. 

The user could use the keyboard keep the down key pressed and scroll throught the node it would then end up making thousands of calls and ends up hammering the server.

Is there a way to delay the selection call or change the repeat so it will not hammer the server with WCF calls.

Parents
  • 69832
    Suggested Answer
    Offline posted

    You could remove the key mappings that select the node, but I don't think that is the right approach. You might want to consider triggering an expensive operation like this off (for example) a double-click rather than a selection.

Reply Children