In my Silverlight application we have to update the data to Predefined excel template and then export the data.But our predefined template is having company logo. Which is not appearing in excel when we export the file.Steps to achieve the Export in Silverlight.1) we load the excel using Infragistics excel and then update the data to excel.2) Then save the worksheet into memory stream and then convert the memorystream into byte array and pass it into service layer and save the Byte array as excel file in server.3) When you click on export button then pass the path of the file and export it using response object.Note :- If I just load the Excel template and save the worksheet into memorystream. convert the memorystream into byte array and pass it into service layer.Even then image is not appeared in the excel.Please let me know the solutions.
Can you post a workbook that contains just the logo which does not round-trip? I will try it on my system to see if this is a bug.
Hi,
Thank you for your Quick reply. I am attaching the excel.
I have deleted the header but i kept the image in the worksheet.
Hello akhanil,
I was looking into this issue and I believe that Mike was asking for the worksheet with your logo before the export, not after that, so we can test your scenario. Could you please double check if you are attaching the right file with the logo.
Thanks in advance.
Yes, that is what I was asking for. Thank you Elena.
I was attached the template before the Export and I just deleted the Header Text for Security reason.
In the code I will write the data after the 9th row. once the file is exported to users then you wont find the image in the exported excel. The template I have attached you able to see the image.
Please let me know if you have any more queries.
Thanks
Anil Kumar
Hello,
The service release containing the fix for your issue is out, you can download it from: https://es.infragistics.com/Membership/Default.aspx?panel=Downloads#Downloads
I'd be glad to receive a feedback on the outcome.
Unlike the EMF format, I cannot reproduce this issue with the PNG file. But why don't you send Elena the file with the PNG image which has the problem so she can attach it to the bug and I will test with that file as well.
Mike,
Still the same result. No success. I have pasted the PNG format image. But the image didn't got exported.
I have created a support ticket on your behalf with number CAS-74834-N16N68 in order to link the development issue 92740 to it so that you are automatically updated when a Service Release containing your fix is available for download.
Sorry, I didn't see that because in the selection pane it was named "Object 8". I tried this and was able to reproduce the issue. It looks like the image is in a currently unsupported image format: EMF. You can work around this issue by using a PNG or JPEG instead. But ultimately, it should be submitted as a bug so it can be fixed. I have forwarded this post to the Developer Support Manager and a DS engineer will be contacting you about this issue.