Advanced SSRS report functionality in a Microsoft.WinForms.ReportViewer - vb.net

Viewing SSRS reports in a Microsoft.WinForms.ReportViewer. Is there a way to get advanced SSRS funtionality (e.g. flyouts / hyperlinks) to work in the report viewer? [The above functions DO work in a Forms.WebBrowser control.]
The two functionalities that I want to implement are as follows:
Report has ACTIONS that cause alternate reports to be run.
SSRS report properties of text box in the tablix
Report behaviour when using older viewer
Report has flyout functionality.
Group properties from the tablix
Report behaviour when using older viewer
The intent of the new viewer is to get some menu functionality into our report viewer that our users are requesting.
Report viewer with e-mail functionality added to forward report(s) to clients
The fundamental problems would appear to be because the ReportViewer control (that is being used in the new previewer) is only allowing a fully rendered document. Is there a way to make it retain the SSRS functionality?

Related

Set Default zoom in SSRS report viewer web part

Using SQL Server 2014, I have an SSRS report. I use the Reporting Services Viewer to display the report on a Sharepoint site, so users can view this report on the main page.
I need to set the default zoom to "Page Width". I know how to pass a zoom parameter within a URL, but I have no idea how to apply default zoom for an SSRS report viewer web part.
Hope for help with solution, if it is possible.

How to change Report Viewer settings when report changes in vb.net

I have a report viewer that I use to display multiple reports. So the user basically selects a report he wants to see and I display it on the report viewer. While the form that holds the report viewer is open the user can select a different report and I can display it, no problem. The issue arises when the user first chooses a report that is in landscape mode and without closing the report viewer form chooses a report that is in portrait mode. The portrait form report displays in landscape mode because the initial report displayed was in landscape mode and vise versa.
So I guess I need a way to initialize the report viewer each time a new report is being displayed so that it takes the mode of the new report. Or set the display mode of the report viewer to the correct mode of the report depending on the mode of the report being called for display.
Thanks for your help.
Found it...
ReportViewer1.ResetPageSettings()
Thanks

Display subreports in Pentaho report designer

I am having an issue getting my sub-report to show up in Pentaho Report Designer.
I have actually followed all steps described in a tutorial, but I still can't see my chart in the preview.
I don't know if I need to activate an option or not.
Check that you have you imported your fields (and perhaps parameters) from the main report into the subs. Often this would be the case a sub-report fails to show.

Display reports with non-modal messagebox

Am writing a VB.Net app written in VS2010. This displays some reports in several forms. (Am using Crystal Reports though this is incidental to the problem). The user needs to be able to check these, then confirm if he wishes to run the update process or abort.
My first idea was to ask the user to reply using a messagebox. But of course this is modal, so the user cannot browse through the reports.
I thought of other options but each seems to have problems:
- export the reports as PDFs, then display report in external Adobe Reader Window using System.Diagnostics.Process.Start("AcroRd32.exe", filename). This seems messy.
- create a non-modal message box or equivalent. This loses any concept of program flow, so am unconvinced by this
What ideas do you have please?
You should already be using a form to display the report(s). Put all the reports on the same form with scroll bars enabled and add a button to that form for the user to 'Update Process'.
You may come up with a better display based on how many reports you want the user to look at - like a drop down at the top with list of reports in it OR a radio button list on the left with reports listed etc.

Displaying multiple Reports in a single report viewer

i want to know is it possible to bind my all crystal reports to a single reportviewer, somewhat in tabbed view or treevie. If tabbed then visible through navigation button.
If yes then how?
any help would be highly appreciated.
Amit Ranjan
Having reviewed the micrososft documentation, it seems you can not bind multiple reports to a viewer. As suggested here:
"Displaying a report using the CrystalReportViewer control
The CrystalReportViewer control displays only one report at a time. Which report is displayed by the control is determined by which report you bind to your code. To tell the control which report to display, you bind the ReportSource property of the control to a particular report. At runtime, the control loads the report that is bound to the ReportSource property and displays it. "
The diocumentation goes on to say you can only bind a report type to the report source.
So, basically you need to build the multi view yourself. In my mind this can be done in two ways.
Create a report viewer for each
report (maybe using a tab control)
Create a single viewer and display
different reports based on what the user
selects in your application. i.e.
I have done something simular in the past, but rather than using the report viewer, i used crystal to export the report to pdf and displayed those to the user.
I hope this is clearer. :-)
Could you not hold your reports in a hierarchical structure in memory , which relates to a visible tree view and displayed the relevant report one at a time as the users selects various nodes..
If you can't pass a colection of reports to your viewer. I would hold a list of reports in a Dictionary or some other kind of list , which has a report and an identifier for that report.
Then display a tree view which represents the reports structure you have, with each node holding the id of the report it represents, when the user selects the a TreeView node, you can look up you report from the dictionary and load it into the report viewer.
I hope that makes sense...