A newer version of this page is available. Switch to the current version.

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.

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>
See Also