Image URL property no longer working

Stimulsoft Reports.NET discussion
Post Reply
paubne
Posts: 12
Joined: Sun Sep 16, 2007 7:24 pm
Location: Brisbane, Australia

Image URL property no longer working

Post by paubne »

We have been using Stimulsoft Reports since around August 2007 and are registered users of the product.

In Reports 2007.2, .Net 2.0, we were able to set the Image URL property of a report image to be a string report variable.
So for example Image URL would be set to expression "{pReportLogo}".

We then in turn would set the value of the report variable at runtime in order to dynamically change the image displayed depending on runtime context.
The URLs are actually just straight windows file paths (eg. "c:\temp\RptLogo.bmp"), but we haven't had any issue with this.
This approach has worked fine for several months.

However we recently upgraded to 2008.1, and have now found that our reports no longer display images.
I have tried using SR_2008.02.04_R2005 and SR_2008[1].01.25_R2005 with no success.

Even when I try to remove the variable expression and hardcode the url text directly in the Image URL property, the images do not display.
I have tried using web url format too - e.g. "file:///C:/Temp/RptLogo.bmp" - with no success.

So it seems like Image URL is broken at the moment.

If I set the File property with a hardcoded path, this works, however File does not work with an expression like "{pReportLogo}".

One workaround I found that lets me still use my report variable and set thus set the report image dynamically is:
Add a BeforePrint event to create a System.Drawing.Image object from url using the report variable, and then assign this Image to the report image
But obviously I cannot go back and change all our existing reports to use this approach.

Please investigate this bug and let me know the outcome?
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

Image URL property no longer working

Post by Vital »

Sorry, but we can't reproduce this bug. Can you send your report to support@stimulsoft.com for examination.

Thank you.
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

Image URL property no longer working

Post by Vital »

Problem solved. Patch will be available in build from 14 Feb.

Thank you.
Post Reply