We have several custom user controls that have different kinds of WebEdit controls and I noticed on all of them when I right click to use the copy and paste context menu, it doesn't popup? What would cause this to be suppressed on all our WebEditors?
Hello,
I have been trying to reproduce this problem in several scenarios (including all editor controls), unfortunately without much success. In all cases and in both IE and FireFox, the context menu was correctly shown and copy/paste worked fine. Please, see the screenshot attached - this is one of my test cases.
Is it possible that somewhere you have globally overridden the document.oncontextmenu event? Or you have implemented other third party controls, that may interfere with the page in some way?
I did a search in the main page and turned up this code...
oncontextmenu="return false"
This was done because we were having problems with our context menu's. When you would right click to bring up the context menu, sometimes it would display, other times the IE explorer popup menu would display. And we couldn't get them to disappear consistenly.
We recently (just yesterday) got another reply from a different forum post that showed us a context menu for a grid example where they wrapped the grid with a div tag and there was some clientside script that could calculate the correct (which is no small task) x, y coordinates. This fix makes it so we can now remove the oncontextmenu="return false".
Thanks for the help.