Problem rendering url-encoded hyperlink images

Stimulsoft Reports.NET discussion
Post Reply
f.cetrini
Posts: 3
Joined: Wed Jun 17, 2020 12:10 pm

Problem rendering url-encoded hyperlink images

Post by f.cetrini »

Hi all, I'm evaluating Stimulsoft 2020.3.1 for integration in our application: my first attempt is to create a simple master/details report, where children are images url.
The data source is a json file, I've got 5 rows and some images for each row.
The problem is that some of the image urls are url encoded, and that url are not rendered into images.

I mean:

Code: Select all

this one is correctly rendered as image
http://<server_ip>/2020/06/03/17/1555/1555_DE927SJ_ITA_2020-06-03-17-29-38-734_9400_094.jpg

this one NO WAY
http://<server_ip>/2020/06/03/17/1554/1554_%D9%A3%D9%A7%D9%A2%D9%A8%E2%80%AC%E2%80%AD%D9%88%E2%80%8C%D8%B7%E2%80%AC_EGY_2020-06-03-17-29-46-407_8800_099.jpg
Both images are available on server and visible via browser.
Any help? Thank you!
f.cetrini
Posts: 3
Joined: Wed Jun 17, 2020 12:10 pm

Re: Problem rendering url-encoded hyperlink images

Post by f.cetrini »

Another question, related to a report containing hyperlink images.
In my test I've provided a json dataset of 100 records, and in each record there are 3/4 images.
I've noticed that at the "Render" call, the report generation tooks about 30 seconds to complete.
I suppose it's fetching all the images contained in the report...is there a way to let the images being downloaded only when the report is scrolled down?

I've also tried the "RenderAsync" call, but it results in a blank page until the entire report is ready (again 30 seconds)

Thank you.
Lech Kulikowski
Posts: 7344
Joined: Tue Mar 20, 2018 5:34 am

Re: Problem rendering url-encoded hyperlink images

Post by Lech Kulikowski »

Hello,

> The problem is that some of the image urls are url encoded, and that url are not rendered into images.

Please send us a sample report with test data for analysis.

> .is there a way to let the images being downloaded only when the report is scrolled down?

Unfortunately, it is not possible.

Thank you.
f.cetrini
Posts: 3
Joined: Wed Jun 17, 2020 12:10 pm

Re: Problem rendering url-encoded hyperlink images

Post by f.cetrini »

Hello, and thank you for your feedback.
About the url-encoded images, it's a designer problem. At runtime, the viewer works as expected.
About the capability to fetch remote images on the fly, are you planning to implement the feature?

Now another question.
I've tried some WPF samples too, and I've noticed a different behavior compared with the WinForms ones, let's me explain better.
The sample "Samples-WPF-CSharp-master\Using Business Objects" populates a list of 6 person, as I recall.
If I try to populate 6 thousands of persons, the wpf report viewer becomes very laggy while zooming and changing page layout.
The same test, in the WinForms sample, works very well, the viewer interface is responsive.

Can you try the same sample to confirm?
Thank you
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Problem rendering url-encoded hyperlink images

Post by HighAley »

Hello,

> About the capability to fetch remote images on the fly, are you planning to implement the feature?

No, we don't have plans to add this feature.

The Winfroms and WPF have some differences. The visual part can work with different speed.
Especially on large amount of data. Unfortunately, because of the similar issues with WPF we were not able to implement Dashboards for the WPF Designer.

Thank you.
Post Reply