Last Updated: 12 Aug 2019 11:03 by ADMIN
Hayu Rahiza
Created on: 22 Jul 2015 09:32
Category: Gantt
Type: Feature Request
Add ContextMenu to ASP.Net AJAX Gantt UI
I need a context menu when user right click on particular task. Is it possible?
Attached Files:
1 comment
Posted on: 12 Aug 2019 11:02
Hi Hayu,

Thank you for your feature request!

You could manually attach a RadContextMenu to the Gantt tasks:
<telerik:RadContextMenu runat="server" ID="ContextMenu1">
        <telerik:RadMenuItem Text="All Devices" Value="allDevices" />
        <telerik:RadMenuItem Text="Phone" Value="phoneP"/>
    function pageLoad() {
        $telerik.$('.rgtTask').mousedown(function (e) {
            if (e.button == 2) {
                var contextMenu = $find("<%= ContextMenu1.ClientID %>");
                return false;
            return true;

and implement the desired custom logic.

Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.