Skip to main content

ASPxClientTreeListCustomDataCallbackEventArgs Class

Provides data for the ASPxClientTreeList.CustomDataCallback event.

Declaration

declare class ASPxClientTreeListCustomDataCallbackEventArgs extends ASPxClientEventArgs

Example

This example shows how to display the number of selected nodes. The client-side ASPxClientTreeList.SelectionChanged event is handled to send a callback to the server to obtain the number of selected nodes. This information is set to the client (ASPxClientTreeList.CustomDataCallback event) and displayed below the ASPxTreeList.

The image below shows the result:

exCustomDataCallback

protected void ASPxTreeList1_CustomDataCallback(object sender,
DevExpress.Web.ASPxTreeList.TreeListCustomDataCallbackEventArgs e) {
    e.Result = ASPxTreeList1.SelectionCount.ToString();
}

Inheritance

ASPxClientEventArgs
ASPxClientTreeListCustomDataCallbackEventArgs
See Also