We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Radial Menu as a Body context menu

Is there a way to show a radial menu as the context menu for an asp.net page?  I'd like to show a radial menu any time a user right-clicks the web page.

1 Reply

SS Selvamani Sankarappan Syncfusion Team February 13, 2017 12:54 PM UTC

Hi Christopher, 
Thanks for using Syncfusion products, 
We can achieve your requirement using JQuery contextmenu event. Then, open the radial menu based on the target element. Refer to the following code example: 
 
[script] 
$(document).ready(function () { 
            document.oncontextmenu = function () { return false; }; 
            $("#target").bind("contextmenu", function (e) { 
                $('#defaultradialmenu').ejRadialMenu("show"); 
                radialEle.ejRadialMenu("setPosition", 100, 10); 
                radialEle.focus(); 
                $("#defaultradialmenu").ejRadialMenu({ "targetElementId": "target" }); 
            }); 
        }); 
 
 
Refer to the following sample; 
 
Regards, 
Selvamani S. 


Loader.
Live Chat Icon For mobile
Up arrow icon