Skip to main content
A newer version of this page is available. .
All docs
V20.2

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