Right Click Context Menu in Firefox
Hello,
I've been using the code found here: http://www.activewidgets.com/javascript.forum.12947.7/how-to-properly-set-oncontextmenu.html to get right click context menus to work. So far they seem to work fine in IE, but not in Firefox. Firefox seems to require a double right click action to pop the browsers context menu within the grid, but it doesnt display the menu that I made. IE will display both on top of each other. I have some code to stop the browsers context menu, but I have commented it out for the time being so it is not a factor in the problem.
I'm also trying to do the same thing using a list box. It works the same, but one thing I noticed is that with a grid the row is selected when using the right mouse button as well. When right clicking inside the list box the row is not selected. Is there any way to select the row in a listbox on a right click event?
If anyone has any insight into these problems please let me know.
Thanks.
I've been using the code found here: http://www.activewidgets.com/javascript.forum.12947.7/how-to-properly-set-oncontextmenu.html to get right click context menus to work. So far they seem to work fine in IE, but not in Firefox. Firefox seems to require a double right click action to pop the browsers context menu within the grid, but it doesnt display the menu that I made. IE will display both on top of each other. I have some code to stop the browsers context menu, but I have commented it out for the time being so it is not a factor in the problem.
I'm also trying to do the same thing using a list box. It works the same, but one thing I noticed is that with a grid the row is selected when using the right mouse button as well. When right clicking inside the list box the row is not selected. Is there any way to select the row in a listbox on a right click event?
If anyone has any insight into these problems please let me know.
Thanks.
Aaron
December 2,