B
B
Boris the Animal2015-11-30 11:34:01
ASP.NET
Boris the Animal, 2015-11-30 11:34:01

Open the full image by clicking on the thumbnail in the report. How?

The point is this. There is a thumbnail in the *.rdlc document which is placed in

<rsweb:ReportViewer ID="reportViewer" runat="server"
            Font-Names="Verdana" Font-Size="8pt" Height="100%" Width="220mm" 
            AsyncRendering="True" ProcessingMode="Local" SizeToReportContent="True" 
            ShowPrintButton="false" ShowRefreshButton="false" PageCountMode="Actual" >
</rsweb:ReportViewer>

That is a local document.
I want to open it on the page to be able to click on the image and go to a new page, while opening it in a new tab. not in the same one.
Here are the settings for the Image component nested in the report document (Image Properties):
General -> Select the image source: external.
General -> Use this image: [PathToScan1] - this is a link to the image from the DataSource. Everything is displayed.
Action -> Enable as an action: Go to Url
Action -> Select URL: [LinkToScan1]
link like:
It looks either like this: /ImagePreview.aspx?image=Scans%5c1%5c17%5cf65.jpeg
Or like this: file:localhost /ImagePreview.aspx?image=Scans%5c1%5c17%5cs65.jpeg
As it should be, I have no idea.
After loading the web page, clicking on the Image does nothing.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
Georgy Grigoriev, 2015-11-30
@Casper-SC

This is a very popular question, I don’t know how you didn’t find the answer to it in Google

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question