Hi,
I have some binary images stored as 64-bit strings in my database. I'm using SQL to convert this value to a Byte[] (array) and I'm using a radbinaryimage control within a listview that is databound to my openaccesslinq data source. (and this is pointed to the data field containing the byte[].) It appears to be working except, Instead of my image showing it's showing a broken image icon as shown in the screenshot attached. I have no idea how to troubleshoot this, but I did notice something strange. When I right click on this image and click "open in new tab" chrome begins a download of a file called "Telerik.Web.UI.WebResource.axd" If i view this file in a text editor, it's actually the 64-bit string that is the original value in my database. This doesn't make sense though, because i'm converting it to a byte[] within the view I'm using, the radbinaryimage control should never see the 64-bit string. So i'm wondering, does radbinary image convert from a byte[] to a 64-bit string to display the image? If so, is there a way to simply use the 64-bit string that I already have in the database?
Either way, does anyone have any advice on how to troubleshoot this?
I have some binary images stored as 64-bit strings in my database. I'm using SQL to convert this value to a Byte[] (array) and I'm using a radbinaryimage control within a listview that is databound to my openaccesslinq data source. (and this is pointed to the data field containing the byte[].) It appears to be working except, Instead of my image showing it's showing a broken image icon as shown in the screenshot attached. I have no idea how to troubleshoot this, but I did notice something strange. When I right click on this image and click "open in new tab" chrome begins a download of a file called "Telerik.Web.UI.WebResource.axd" If i view this file in a text editor, it's actually the 64-bit string that is the original value in my database. This doesn't make sense though, because i'm converting it to a byte[] within the view I'm using, the radbinaryimage control should never see the 64-bit string. So i'm wondering, does radbinary image convert from a byte[] to a 64-bit string to display the image? If so, is there a way to simply use the 64-bit string that I already have in the database?
Either way, does anyone have any advice on how to troubleshoot this?