Skip to main content
All docs
V25.1
  • ASPxClientGanttContextMenuItem.navigateUrl Property

    Specifies the context menu item’s navigation Url.

    Declaration

    navigateUrl: string

    Property Value

    Type Description
    string

    The navigation Url.

    Remarks

    <dx:ASPxGantt ID="Gantt" ClientInstanceName="clientGantt" >
        //...
        <ClientSideEvents
          ContextMenuCustomization="function(s, e) {
              ...
              // Creates an item
              var customItem = new ASPxClientGanttContextMenuItem();
              customItem.name = 'Item1';
              customItem.text = 'Item1';
              customItem.navigateUrl = '/location.aspx';
    
              // Adds the item to the context menu items
              e.menuItems.Add(customItem);
          }
        />
    </dx:ASPxGantt>
    

    Examples

    See Also