Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
70
Remove the "Lock the toolbars","Customize.." from the toolbar right click
posted

Hello,

want to remove the "Lock the Toolbars","Customize.." from the tool bar right click. And also want to add the "Large Icons" option to the right click on tool bar..how to add this option and handle the click event of this newly added option.

  • 1660
    Offline posted

    Hello, 

    I suggest handling the BeforeToolbarListDropdown event of the ultraToolbarsManager, with it you can cancel the default context menu and add a custom one that suits the needs of your toolbar or a specific tool in it. After that for each menu item you need to create an event for its functionality.

    I have attached a sample that contains a simple context menu, which replaces the default one. It has removed "Lock Toolbars" and "Customize..", and also contains “Large Icons” option in it as you required.

    Please let me know if you need further assistance.

    Regards,

    Ivan

    ContextMenuChange.zip