TreeListExtension.GetBinaryImageEditCallbackResult(BinaryStorageMode, BinaryImageUploadValidationSettings) Method
Returns the specified result back to the client side after processing a callback initiated by a binary image editor used as a TreeList column editor.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.1.dll
NuGet Package: DevExpress.Web.Mvc5
Declaration
public static ContentResult GetBinaryImageEditCallbackResult(
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 binary image editor’s MVCxColumnBinaryImageEditProperties.CallbackRouteValues property to return the result of callback processing back to the client.