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
215
how do you cancel a paste event in WebGrid?
posted

I have a WebGrid that allows update and inserts to it. I need to keep it this way.. but I want to disable any pasting...

I do have access to the BeforeClipboardOperation client-side event, but once that's fired, I don't know how to actually cancel the paste event. I tried returnign false from that function, but the data still gets pasted into the grid

any ideas?