Show entire report in SSRS Report Viewer Web Control? - sql-server

So I have the SSRS Report Viewer Web control on a WebForm in my project, and it is working as expected now.
Since the print button does not naturally render in browsers other than IE, I've implemented this solution SSRS print button in Chrome and Firefox to give users in those browsers some ability to still print.
However, several of my reports are multi-page reports. It would be useful to show the entirety of the report at one time so the user only has to click the print button one time.
I've looked for a setting in the control, and simply do not see one. As I'm using server reports, it would not be possible to modify the RDL to make the page "larger".
What other approach could I take to display the whole multiple page report at one time?

If I understand correctly, you want the interactive size to show ALL your data, but the normal printed output (via the SSRS button) to use the proper page size.
To do this, you can modify the report's InteractiveSize Height property and set it to zero (0in). You can find this on the report's property page (press F4 to see the property page if not displayed). It is not shown in the normal report properties dialog -- only in the Properties Window.
This will make the interactive report page-less and render all the report data in one go. Assuming its not terribly large, this works well for people annoyed by the paging on the interactive report viewer and who just want to scroll through a data list.

Related

SSRS Button in App Embedded Report Sends to a SSRS Server Link

I have successfully embedded an SSRS report into my application and on the report I have a table with some data. I have grouped some columns and indicated in details group properties that it can be collapsible like so:
(If anyone is wondering the expression on the month is just doing this =Left(MonthName(Fields!monthNumber.Value), 3) and works as expected.
Preview result is something like this which in SSRS builder preview behaves as expected.
Now the problem is, when I go on and try to press the button to collapse or show some of the months in my live app, the report I am assuming tries to reload and instead the buttons send me to an SSRS link that is a completely irrelevant page to my webapp and the page looks something like this:
Get help button just sends me to a Microsoft site that is kind of useless.
I AM forced to use a rather old and meh IDE called "Alpha Anywhere" and I am not exactly sure if it is just the IDE quick. I don't think it should be, something credential-wise is probably going weird.
The report itself is configured to use a shared data source from SQL Server that is accessed using security credentials I created specifically for SSRS.
Basically everything is working fine, just the collapse buttons are acting unexpectedly.
Any help would be appreciated!

"Manage Pages" not available as it is greyed out

The "Manage Pages" option is greyed out from the dropdown. When in view mode, I can see all of the pages and sections that I set up at the beginning, but now I am unable to go in and update this.
It was working fine yesterday and is only affecting one of my dashboards. This issue only occurs in my dashboards, which have all of their tabs as multi-layered sections (no independent dashboard tab is a separate page).
Is there a reason why the option is unavailable?
Note that this is a sporadic issue and only affects certain dashboards (worked in the report and GIF below), though in any case, the method that I've been using as well as the recommended method on the Add pages and report navigation support page is:
Manage report pages
To manage the pages you've added to your reports:
Edit your report.
In the upper left, click "Page X of Y."
Publicly editable Google Data Studio report (embedded Google Analytics data source based on the Tutorial Report) and a GIF to elaborate:
I found that adding a blank "helper" page on a fully independent tab (with no sections) provides a fix for this issue (just hide the blank page so it doesn't look out of place). I believe the "Manage Pages" option ends up getting disabled when the dashboard is built with multi-layered sections for each and every tab.

Form input fields don't respond to being clicked

So, we have a .net 5.0 wpf application which on startup loads a window containing a cef browser. The browser then loads our login form. The application is running on win 10 64 bit machines exclusively. This has worked without a problem for the past 6 months. Yesterday i installed the application on one of our customers' laptops. The installation went down without a hitch, but after the cef browser loaded the login form I was unable to interact with the input fields. By that I mean that if I put my cursor above the text field my cursor changes shape, but upon clicking no cursor would appear inside the text field and anything I typed wouldn't appear in the text filed. Clicking the Login button didn't have the expected effect of telling me that I am missing username and password, instead it moved the trigger areas of all input elements downward while they were still being rendered at the same position as before.
This problem is exclusive to this one machine. All other machines running the application aren't experiencing and never have experienced anything like this so i'm not expecting it to be a bug within cefsharp.
My question is if anyone has had a similar issue or any idea how to workaround it.
CefSharp version being used is 94.4.110.

SSRS: Refresh one dataset not the entire report

I have added multiple charts on one report and each one is dependent on other one. I have used action->Go To Report to refresh another chart on click of the current chart. But the issue is that its refreshing all the charts/datasets on the current report. I just want to refresh one chart and preserve the value/data of others.
Sorry Rishi, but this is not possible with a simple SSRS dashboard, just using the SSRS designer.
There are a few ways to achieve this result with a lot of effort, but each one is essentially coding a master webpage that displays multiple SSRS reports in separate containers on the same page. Then you use server-side ASPX code, or client-side javascript code to interact with the SSRS apis and pass parameters and reload the report(s) that you wish.
Here is one demo site that using javascript on a SharePoint, PerformancePoint Dashboard to achieve the effect.

Help for using (exernal images) from the website with SSRS

I have a small web site where i maintain users data. I maintain the users data in table and store there images like /images/users/user_id.jpeg on the server.
I am using the ReportViewer control in the asp.net page to show the reports from SSRS in the web application.
Now user want reports where they can see the users image in the report so that they can export it as pdf and get it printed.
In report i tried html image tag with full and relative url with option to render HTML however its not working. Also i tried the image control in the toolbox with external url and that too appears to be now working.
Can someone please help me get around this problem or guide me to some helpful links.
Thanks all,
It will be a lot easier to set up the report so that your users can see the image, if you can see the image in preview in Report Designer.
Make sure you have a working URL that takes you to one of your images. Test it, by pasting the URL into the address bar of your browser and ensure that the image is displayed in the browser.
Delete the existing image from your report. Insert a new image into the report object (normally a list or table) you are using to display your table. (This should be where the old image was.)
Specify Web as the image source, and enter your working URL as the URL of the image.
Preview the report in the report designer. You should be able to see the image (with the hardcoded URL) displayed correctly in the report.
Assuming all images are stored in the same directory on your server, switch to the layout tab of your report designer and click on the image object. In the Properties window, the value attribute should be the harcoded URL.
Click on the <Expression...> option from the dropdown menu for the Value attribute. Edit the expression so that it says ="your URL, without the filename" & Fields!your image filename data field name.Value
Preview the report in the report designer. You should be able to see the appropriate image for your data displayed correctly in the report.
If everything has gone correctly up to this point, deploy the report and try viewing it in the Report Manager. You should be able to see the appropriate image for your data displayed correctly in the report.
At this point, your users should now be able to see the report images.
I tried everything!!! It wasn't working in BIDS, Web Browser nor a Winform Report Viewer control.
I ended up hard-coding the image and it still didn't work:
="http://MyServer/Reports_SQL2008/Pages/Resource.aspx?ItemPath=%2fProjectReporting%2fBRAND_Logo.png&RetrieveResource=True"
I am pretty sure the problem was something to do with Active Directory Group Policy propagation. I suggest to leave it overnight if you have the same problem and have tried everything you can think of:
Setup Unattended Execution Account in SSRS Config with a service account who's password wont expire:
Permissions (both on image and also at Site Settings):
Can navigate to the image successfully, but it still doesn't show in the report.
Have the SSRS Image Properties set correctly, with the equal sign and url enclosed in double quotes, ie: ="url"
Even clear your browsers cache and tried different browsers, etc, etc
Anyway next morning I tried and the hardcoded path works and now this dynamic URL works too:
http://MyServer/Reports_SQL2008/Pages/Resource.aspx?ItemPath=%2fProjectReporting%2f" & First(Fields!Brand.Value, "ClientAndBrandByAccount") & "_Logo.png&RetrieveResource=True"
The XML in the RDL file is HTML encoded and looks like this:
<Image Name="Logo">
<Source>External</Source>
<Value>="http://MyServer/Reports_SQL2008/Pages/Resource.aspx?ItemPath=%2fProjectReporting%2f" & First(Fields!Brand.Value, "ClientAndBrandByAccount") & "_Logo.png&RetrieveResource=True"</Value>
I tried to make the Server URL dynamic as Alex Z shows, though I had to use this Replace code:
=Replace(Globals!ReportServerUrl,"/ReportServer_","/Reports_") & "/Pages/Resource.aspx?ItemPath=%2fProjectReporting%2f" & First(Fields!Brand.Value, "ClientAndBrandByAccount") & "_Logo.png&RetrieveResource=True"
Create a relative url using the expression and global variable Globals!ReportServerUrl
= Globals!ReportServerUrl + "your path to image"

Resources