Ticket T490764
Visible to All Users

ASPxMenu - How to handle RightClick

created 8 years ago

I can't open an URL in a new tab by right clicking on an menu item.
There is no option.
By Default there is only a context menu with select all, print…
What can i do to enable my user to open the URL in the same tab (left click) or in a new tab (right klick)

Kind regards from germany

Answers approved by DevExpress Support

created 8 years ago

Hello Rainer,

ASPxMenu does not provide a built-in functionality to handle the right mouse click. However, it is possible to use a workaround provided in the ASPxMenu - Show an ASPxPopupMenu on rightclick item ticket. Handle the oncontextmenu event and use recommendations from the Open URL in same window and in same tab topic to open a new page in the same tab.

    Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

    Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.