Browser menu over radcontext menu

4 posts, 0 answers
  1. Ivy
    Ivy avatar
    30 posts
    Member since:
    Feb 2013

    Posted 26 Aug 2013 Link to this post

    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?
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 26 Aug 2013 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Ivy
    Ivy avatar
    30 posts
    Member since:
    Feb 2013

    Posted 27 Aug 2013 Link to this post

    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).
  5. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 27 Aug 2013 Link to this post

    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.
Back to Top