ASPxClientReportDesigner.PerformCallback(String, Action<String>) Method

Sends a callback to the server and generates the server-side event, passing it the specified argument.

Namespace: DevExpress.XtraReports.Web.Scripts

Assembly: DevExpress.XtraReports.v18.1.Web.Scripts.dll

Declaration

public void PerformCallback(
    string arg,
    Action<string> onSuccess
)
Public Sub PerformCallback(
    arg As String,
    onSuccess As Action(Of String)
)

Parameters

Type Name Description
String arg

A string value that represents any information that needs to be sent to the server-side event.

System.Action<String> onSuccess

A client action to perform if the server round-trip completed successfully.

Use the PerformCallback method if you need to asynchronously go to the server and perform server-side processing using AJAX-based callback technology. You can pass the required information which can be collected on the client side as a string of arguments using the PerformCallback method args parameter. The onSuccess parameter allows you to specify a client function that should be executed after the server round-trip completed successfully.