Skip to main content

BinaryImageEditExtension.GetCallbackResult(BinaryStorageMode, BinaryImageUploadValidationSettings) Method

Returns the specified result back to the client side after processing a callback within an Action specified by the BinaryImageEditSettings.CallbackRouteValues property.

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public static ContentResult GetCallbackResult(
    BinaryStorageMode storageMode,
    BinaryImageUploadValidationSettings uploadValidationSettings
)

Parameters

Name Type Description
storageMode BinaryStorageMode

One of the BinaryStorageMode enumeration values specifying the storage for binary data.

uploadValidationSettings BinaryImageUploadValidationSettings

A BinaryImageUploadValidationSettings object containing settings that relate to the validation of an uploaded image.

Returns

Type Description
ContentResult

A ContentResult object that is the result of an action method.

Remarks

Use this method in an Action specified by the BinaryImageEditSettings.CallbackRouteValues property to return the result of callback processing back to the client.

See Also