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
Inheritance
See Also