I have a grid that has columns with ValueLists to display images in the cell based on specific data. The ValueListItem Appearance.ImageBackground is where the image is set.
When exporting to Excel, the columns with the ValueList remain blank. I've seen a lot of older posts that state the images aren't supported however the Samples version I have for Exporting Images to Excel states that the Exporter now has native support for images.
Is there some property or event I need to set/handle to make this work?
Thanks
Hello,
Is far as I understand from your post you were able to solve your issue.
Please let me know if you need any further assistance on this.
Thank you.
Thanks Hristo.
By the time I saw your post I had already created a solution that was similar using the image export sample. It checks for a ValueList on the cell and grabs the image (in my case, BackgroundImage), from the associated ValueListItem.
Works great.
I have created a small sample to illustrate how you could achieve your goal.
Please run the sample and press UltraButton1 and let me know if this is what you are looking for.
Please let me know if you have any further questions.
Hi Jim,
I beleive that the image support in the UltraGridExcelExporter refers to the Image, not the ImageBackground.
In fact, I'm not even sure Excel supports what you are trying to do here, because images in Excel are handled as shapes and they are drawn on top of the text in the cells.
I think Excel has support for shapes with text, too, but the Infragistics Excel engine does not currently support that.