ASPxClientGantt Class

A client-side equivalent of the DevExpress.Web.ASPxGantt control.

Declaration

declare class ASPxClientGantt extends ASPxClientControl

Remarks

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

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

Example

<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