Skip to main content
All docs

ASPxGantt.CustomCallback Event

Fires when the client ASPxClientGantt.PerformCallback method initiates a round trip to the server.

Namespace: DevExpress.Web.ASPxGantt

Assembly: DevExpress.Web.ASPxGantt.v23.2.dll

NuGet Package: DevExpress.Web


public event GanttCustomCallbackEventHandler CustomCallback

Event Data

The CustomCallback event's data class is GanttCustomCallbackEventArgs. The following properties provide information specific to this event:

Property Description
Argument Returns string information passed from the client-side (if any).


The CustomCallback event allows you to perform server-side actions in response to a call to the client PerformCallback method.

Use the event parameter’s Argument property to get information passed from the client-side with the PerformCallback method’s args parameter.

Note that you can additionally handle the client BeginCallback and EndCallback events to perform actions before and after callback processing.

The following example shows how to pass a clicked task’s key value to the CustomCallback event handler:

<script type="text/javascript">
    function onClickTask(s, e) {

<dx:ASPxGantt ID="Gantt" runat="server" ClientInstanceName="clientGantt" OnCustomCallback="Gantt_CustomCallback" ...>
protected void Gantt_CustomCallback(object sender, DevExpress.Web.ASPxGantt.GanttCustomCallbackEventArgs e){
    string key = e.Argument;
See Also