This is how I formed my control
When I run the application I get an error saying
Isnt the imageURL suppose to handle this null case? How can I fix it?
Thank you.
<
telerik:RadBinaryImage
ID
=
"imageThumbnail"
runat
=
"server"
DataValue='<%# Eval("imageThumbData") %>' ImageUrl="~/imageLibrary/common/nopic.gif" Width="125" Height="125" />
When I run the application I get an error saying
Unable to cast object of type 'System.DBNull' to type 'System.Byte[]'.
Isnt the imageURL suppose to handle this null case? How can I fix it?
Thank you.