All docs
V20.1
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

MVCxClientBinaryImage Class

The client-side equivalent of the BinaryImageEditExtension.

Declaration

declare class MVCxClientBinaryImage extends ASPxClientBinaryImage

Remarks

<script type="text/javascript">
    function onBeginCallback(s, e) {
        e.customArgs["ImageSize"] = 100;
    }
</script>
...
@Html.DevExpress().BinaryImage(settings => {
    settings.Width = Model.Width;
    settings.Height = Model.Height;
    settings.Name = "BinaryImage";
    settings.Properties.ClientSideEvents.BeginCallback = "onBeginCallback";
}).Bind().GetHtml()

Online Demo

See Also