Change Theme Settings
Change Theme Settings
Themes
 
Metropolis
Moderno
iOS
Material
Material Compact
Office 365
Mulberry
Show All Themes
v
...v

Binding to Binary Data

Pumpkins
Pumpkins
Blueberries with leaves on wooden background
Blueberries with leaves on wooden background
Two oak mushrooms in the moss
Two oak mushrooms in the moss
Wild strawberries
Wild strawberries
Olives and olive oil
Olives and olive oil
Photo of very fresh tomatoes
Photo of very fresh tomatoes
White steamed rice
White steamed rice


The ImageGallery extension can display binary images.

In this demo, the image gallery is bound to an IEnumerable object via the Bind method. This object contains binary images retrieved from an Entity Framework data model. The ImageContentBytesField property specifies the data source field from which binary images should be retrieved. The ImageGallery extension caches the images to the folder specified by the ImageCacheFolder property.