MVCxClientBinaryImage.PerformCallback(data) Method
Sends a callback with parameters to update the Binary Image.
Declaration
PerformCallback(
data: any,
onSuccess?: (arg: string) => void
): void
Parameters
Name | Type | Description |
---|---|---|
data | any | Information that is passed to the server. |
onSuccess | (arg: string) => void | A client action that is performed if a callback is completed successfully. |
Remarks
Use the PerformCallback method to update the BinaryImage asynchronously. The callback is handled in an Action (CallbackRouteValues).
Client Script Code:
myBinaryImage.PerformCallback({key1: value}, OnSuccess);
function OnSuccess() {
...
}
Controller Code:
ActionResult MyAction(int key1){
...
}
See Also