Hi,
The copy and paste feature of WebGrid has some defects in our websites. So we'd like to implement this feature by ourselves, and we also want to use "Ctrl+C" and "Ctrl+V" for the hot key. We found it had conflict with the hot key of WebGrid, so we must switch off these two hot keys before we use our own function. We used to consider using other hot keys, but it was inconvenient to our users. Chould you suggest how to do it?
Hello Gary,
Just a suggestion for a path that you might want to take - you might want to check out the BeforeClipboardOperation client-side event of the grid documented here:
http://help.infragistics.com/Help/NetAdvantage/NET/2008.3/CLR3.5/html/WebGrid_Client_Side_Events_CSOM.html
I have just gone through the sources and can see that if you return "true" from the event handler, it will be cancelled - e.g. no clipoboard copy/paste operation will take place and you will be able to perform custom action there. Hopefully this will work in your scenario.
Hello Rumen,
It works, thanks a lot.