Skip to main content

ASPxClientGantt Class

A client-side equivalent of the ASPxGantt control.

Declaration

declare class ASPxClientGantt extends ASPxClientControl

Remarks

The ASPxClientGantt object serves as a client-side equivalent of the ASPxGantt control.

Gantt Control

Run Demo: ASPxGantt Demos

Use the ClientInstanceName property to programmatically access the client object rendered for the ASPxGantt control in client-side script.

<script>
     function click(s, e) {
          // Call the ASPxClientGantt's ShowResources method
          clientGantt.ShowResources(false);
     }
</script>
...
<dx:ASPxGantt ID="Gantt" runat="server" ClientInstanceName="clientGantt" >
    //...
</dx:ASPxGantt>

<dx:ASPxButton ID="ASPxButton1" runat="server" Text="Clear" AutoPostBack="false">
     <ClientSideEvents Click="click" />
</dx:ASPxButton>

Inheritance

See Also