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

ASPxClientGanttContextMenuEventArgs.htmlEvent Property

Gets the DHTML event object that contains information about the processed event.

Declaration

htmlEvent: any

Property Value

Type Description
any

An object that relates to the processed event.

Remarks

<dx:ASPxGantt ID="Gantt" ClientInstanceName="clientGantt" >
    //...
    <ClientSideEvents 
      ContextMenu="function(s, e) {
          menu.ShowAtPos(e.htmlEvent.x,e.htmlEvent.y);
      } 
      ContextMenuCustomization="function(s, e) {
          e.cancel = true;
      } 
    />
</dx:ASPxGantt>

<dx:ASPxPopupMenu runat="server" ID="popup" ClientInstanceName="menu">
    <Items>
        <dx:MenuItem Text="Item1">
        </dx:MenuItem>
        <dx:MenuItem Text="Item2">
        </dx:MenuItem>
    </Items>        
</dx:ASPxPopupMenu>
See Also