This is a migrated thread and some comments may be shown as answers.

HOW TO: Show EMF image in BinaryImage on IE8

3 Answers 118 Views
BinaryImage
This is a migrated thread and some comments may be shown as answers.
e.urj
Top achievements
Rank 2
e.urj asked on 26 May 2010, 07:53 AM
Using BinaryImage, how can I show an emf image as Byte array from database on IE8? In the code, I have updated Photo column with emf image in CustomerPhotos table. The modified application does not show the emf image on IE8 but shows it on IE6/IE7 because the Content-Type is image/*.

(Q1) Is there any way to set image/x-emf to the Content-Type for BinaryImage?
(Q2) Is there the correct way to show an emf image in BinaryImage on IE8?

Best regards,

3 Answers, 1 is accepted

Sort by
0
BaiH
Top achievements
Rank 1
answered on 28 May 2010, 05:14 PM
Don't think it is possible to show EMF in the browser at all and I'm sure it is not supported by RadBinaryImage.

--BH
0
e.urj
Top achievements
Rank 2
answered on 29 May 2010, 02:47 AM
If you add "image/x-emf" to MIME-type in IIS, it is possible to show EMF image by BinaryImage in IE6/IE7 but not in IE8. Does anyone know how to show EMF by BinaryImage in IE8?
0
BaiH
Top achievements
Rank 1
answered on 31 May 2010, 09:54 AM
As I said I'm positive that RadBinaryImage does not support EMFs. You can try to override the handler and explicitly output the image with the contenttype you want.

--BH
Tags
BinaryImage
Asked by
e.urj
Top achievements
Rank 2
Answers by
BaiH
Top achievements
Rank 1
e.urj
Top achievements
Rank 2
Share this question
or