I just started using the BinaryImage control in my MVC application, but it doesn't seem to be working correctly.
The code I'm using is this:
|imgMain.DataValue = images.ImageFile;
|<telerik:RadBinaryImage ID="imgMain" runat="server" Width="720px" Height="470px"
| AutoAdjustImageControlSize="false" />
The "ImageFile" property's db type is "VarBinary(MAX)", but I retrieve it as a Byte array in my LINQ class. The problem I'm seeing is that the image isn't showing up. The tag is generated with the url, but nothing is showing. I have the Telerik resource file registered in my web.config, which was generated by the RadScriptManager control, so it must exist.
If you could tell me what I'm doing wrong or how I can fix it, it would be much appreciated.