Tab

CallbackEventArgs.Result Property

Gets or sets a string that contains specific information (if any) that needs to be passed to the client side for further processing.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

Declaration

public string Result { get; set; }
Public Property Result As String

Property Value

Type Description
String

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

Remarks

Use the Result property if you need to pass some information to the client side to perform some client-side processing in the ASPxClientCallback.CallbackComplete event's handler. You can pass the required information via the Result property. Typically, this can be the result of server-side processing of the CallbackEventArgsBase.Parameter property value.

Examples

The complete sample project is available in the DevExpress Code Central database at E36.

function ShowImage(id) {
    if (ASPxCallback1.InCallback()) 
        return;
    document.getElementById('imageCell').innerHTML = 'Loading...';
    ASPxCallback1.PerformCallback(id);
}
See Also