Page 1 of 2

Image in report error

Posted: Thu Dec 30, 2010 3:52 pm
by fama_0
Are images in reports supported for Silverlight client generated reports? I modified an existing working report by adding an image and the next time that I tried to run it it fired an exception mentioning something about not supporting packaged reports.

I tried getting around this packaged issue problem by saving the report as a "CSharp file for Silverlight report", but this is apparently not working yet. It adds a reference to System.Data (which is not in silverlight) and Visual Studio marks "this.ReportResources" as not being found.
Is there any way that I could currently get an image to display on a silverlight report using only data that is found in the silverlight application (ie. no internet access)?

Image in report error

Posted: Fri Dec 31, 2010 4:15 am
by Andrew
Hello,

Packed files in silverlight are not supported and will not be supported. Only .Mrt files can be opened.
Please send us a sample of your report. We will investigate it.

>>Is there any way that I could currently get an image to display on a silverlight report using only data that is found in the silverlight application (ie. no internet access)?

You need to create your Business Objects which contain images. Then you will be able to show them.

Thank you.

Image in report error

Posted: Wed Jan 05, 2011 10:55 am
by fama_0
Alright, I will add the image to my business object and put the business object in the "Image Data" tab for the Image control. However, before I try, what format should this image data be in? Should it be a string? a byte array?

Once I know the format, this will be an acceptable method of inserting the image

Image in report error

Posted: Thu Jan 06, 2011 6:56 am
by Andrew
Hello,

We did not test using images with business objects. Because this is Silverlight, then, most likely, sending and image via BitmapImage it will be loaded without any problems. If it does not work, please let us know about this, we will try to add the parsing of the image from the string.

Thank you.

Image in report error

Posted: Fri Jan 07, 2011 9:02 am
by fama_0
I have tried making the BusinessObject a BitmapImage, but that prevents the Windows Form ReportGeneratorApp from opening since it can't find the System.Windows reference which contains BitmapImage because that is a Silverlight reference. I did try to set it by making the BitmapImage an object, but that still didn't work.

It might work if I was creating the report in the Silverlight designer so I will try creating a Silverlight report generation app instead of a Windows form one. I will let you know later today if that works.

Image in report error

Posted: Fri Jan 07, 2011 4:07 pm
by Jan
Ok. Please inform us about results.

Thank you.

Image in report error

Posted: Thu Jan 13, 2011 11:47 am
by fama_0
Took me a while to get some free time to do this, but I was not able to test it properly. The report generation in silverlight opens, but I'm not able to do the "Retrieve Columns" when editing the report data. It just comes up with a blank list with just "Columns" appearing. Is that supposed to be working?

Image in report error

Posted: Fri Jan 14, 2011 7:35 am
by Andrew
Hello,

We have fixed the error. The update will be available in the prerelease on 18-January-2011.

Thank you.

Image in report error

Posted: Fri Mar 11, 2011 4:32 pm
by fama_0
Has the fix has gone out for the missing Retrieve Columns error? I'm using the newest version from March 9th and if I hit "Retrieve Columns" I just get a window with a "Columns" root and nothing else. I guess I will try to add what I need manually right now. Let me know if anything changes, this is a very important feature.

Image in report error

Posted: Mon Mar 14, 2011 3:03 am
by Andrew
Hello,

We found and fixed one problem in the "Retrieve Columns". Please check the next prerelease build that will be available this week. If you find anything more please write us, we will fix.

Thank you.