[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Collapse]ASP.NET Bootstrap Controls
  Overview
 [Expand]Getting Started
 [Expand]Demos and Sample Applications
 [Expand]Project Configuration
 [Expand]Grid View
 [Expand]Card View
 [Expand]Scheduler
 [Expand]Spreadsheet
 [Expand]Rich Text Editor
 [Expand]Charts
  Sparkline
 [Collapse]Data Editors
   Binary Image
   Button
   Button Edit
   Calendar
   Check Box
   Check Box List
   Color Edit
   Combo Box
   Date Edit
   Dropdown Edit
   Hyperlink
   List Box
   Memo
   Progress Bar
   Radio Button
   Radio Button List
  [Expand]Range Selector
   Spin Edit
   Tag Box
   Text Box
   Time Edit
  [Expand]Upload Control
 [Expand]Site Navigation
 [Expand]Site Layout
  File Manager
 [Expand]Redistribution and Deployment
 [Expand]API Reference
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Binary Image

The BootstrapBinaryImage control is an editor capable of displaying images from a binary stream.

The ASPxBinaryImage.ContentBytes property provides access to editor contents represented by an array of bytes. The ASPxBinaryImage.StoreContentBytesInViewState property allows you to control whether or not editor content is stored within the editor's view state between postbacks.

Tip

The Binary Image control supports the IIS clustered web environment (also known as Web Farms or Web Gardens). To learn more, see the Binary Storage Configuration topic.

Expanded Image Uploading

When the BinaryImageEditingSettings.Enabled property is set to true, end users can upload an image to the control by using the open dialog button.

When the drag and drop feature is enabled (the BinaryImageEditingSettings.AllowDropOnPreview property is set to true), end users can upload an image by dropping it to the image area.

Expanded Supported Image File Formats

The Binary Image control supports the following image file formats.

  • TIFF (Tagged Image File Format)
  • PNG (Portable Network Graphics)
  • GIF (Graphics Interchange Format)
  • JPEG (Joint Photographic Experts Group)
  • BMP (Windows Bitmap)

Expanded See Also

Is this topic helpful?​​​​​​​