This is actually not working in VB.NET. If I do this:
RadBinaryImage1.DataValue = .PictureSmall
(.PictureSmall is a blob in my OpenAccess model, type: Byte() Backend SQL Server)
Now, when a record has no PictureSmall
set (db = NULL, model = nothing) I get an error:
The provided binary data may not be valid image or may contains unknown header
This error accours somewhere down the tree, while rendering I guess, in the page_OnError.
I tried a few different things:
The first gives the error again, and the second just shows the previous image if this record does not have and image
would be a handy feature...
How can I clear the image?