This is a migrated thread and some comments may be shown as answers.

Browser menu over radcontext menu

3 Answers 36 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Ivy
Top achievements
Rank 1
Ivy asked on 26 Aug 2013, 08:46 AM
Hi

I am trying to display a context menu on a div using radcontextmenu.showAt(). The issue is initially the radmenu is displayed and suddenly the browser context menu appear over it. How to resolve this?

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 26 Aug 2013, 10:04 AM
Hi Ivy,

You can call the $telerik.cancelRawEvent(event) in order to prevent the default browser context menu from hiding the context menu you just displayed.

Thanks,
Shinu.
0
Ivy
Top achievements
Rank 1
answered on 27 Aug 2013, 08:49 AM
Hi shinu. Thanks. It works fine in IE and Firefox but nothing is shown in opera. I am using the same code with showAt(x,y).
0
Shinu
Top achievements
Rank 2
answered on 27 Aug 2013, 10:09 AM
Hi Ivy,

Check whether you have "Allow script to receive right clicks" options enabled in your opera browser. To display RadContextMenu in Opera RadContextMenu needs right-clicks allowed. This is done by using "Tools -> Preferences -> Advanced -> JavaScript options -> Allow script to receive right clicks".

Thanks,
Shinu.
Tags
Menu
Asked by
Ivy
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Ivy
Top achievements
Rank 1
Share this question
or