SSRS Button in App Embedded Report Sends to a SSRS Server Link - sql-server

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!

Related

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.

Menu Creation in SSRS

I am created one report service in that 5 different report is there,means report1,report2,report3,report4,report5.So I need to create a menu for these report,means its look like one menu,if I click report1 I need report1 details like that..I am very new in this field so please help me as simple way.
Often SSRS reports are wrapped up within a small app (often created with c# / vb.net) to provide additional security and navigation options. With a simple web page, you will be able create you report menu, style it accoridngly and use Microsoft.Reporting.WebForms to trigger displaying the report

Show entire report in SSRS Report Viewer Web Control?

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.

SSRS- How can I eliminate page breaks within an email body?

I have several SSRS '08 reports that look great when viewed as a web page or exported to the various formats. Recently, someone wanted a data driven subscription to go out for the report. No prob. They were adamant that they did not want the report attached to the email or to link to the report from the email. No prob. Unfortunately, the email body containing the report contents has page breaks at regular intervals. Problem.
Is there a way to conditionally have page breaks, so that I can prevent them from showing up in the email?
Thanks for any tips. (I googled for a solution, but if there is one, I didn't use the right search terms.)
-Kevin
The MHTML rendering extension (probably the one you're using if you're embedding reports in emails) supports the disabling of soft page breaks using the "interactive height" report property.
Have a peek at this question for more details:
Single page display in HTML rendering : SSRS
Actually this is a question related to this: They were adamant that they did not want the report attached to the email or to link to the report from the email.
How do I do this? How do I include the report in the email body?
Can this be done in SSRS 2005?

Setting datasource on a Reporting Service report

i have a drop down list contains the name of reports and each report have a value (1,2,3...) and i have a popup window that appears when user click on view report button
this popup is a web page that contains the report viewer ,,in cs of this popup page i have a swtich that takes int which is the value of the report eg.if i want to display the first report so i chose the first one in the drop down list and the selected value is 1 and it is passed to the page that contains the report viewer in a session variable and pass it to switch then case 1;........break
so i want to know how to create an object of type report and bind it to the report viewer in each case ,,i have made something like that but i used crystal reports and crystal report viewer which has a
CrystalReportViewer1.ReportSource = rpt;
CrystalReportViewer1.DataBind();
and i have a report object
rpt.SetDataSource(dt);
ReportDocument rpt;
but i cant do anything like that when i used reporting service
so please help
thanks
You are talking about the Microsoft SQL Server Reporting Services (SSRS), right?
The approach is a bit different than with Crystal - basically, SSRS is by default a server-based reporting engine, e.g. your application (Winforms or ASP.NET or whatever it is) doesn't actually render the report locally, and also it doesn't supply the data locally.
In SSRS, this is typically handled by the report itself and on the server. You typically only simply show the report (possibly configured with some report parameters), but all in all, the Reporting server will grab the data, format it, render the report, and your application really only shows the output in the end.
If you want to render a SSRS report locally, you need to have a *.rdlc file - do you have this, are you familiar with that option?
If you do - once you're into locally rendering the report, of course, you will also have to provide the data locally. If you use the ASP.NET or Winforms ReportViewer control, you can do this something like this:
ReportViewer reportViewer = new ReportViewer();
reportViewer.ProcessingMode = ProcessingMode.Local;
reportViewer.LocalReport.ReportPath = "Report1.rdlc"; // supply path to the RDLC file
reportViewer.LocalReport.DataSources.Add(.........)
reportViewer.RefreshReport();
Basically, you need to tell the ReportViewer control that you're dealing with local rendering, and then you need to give it the path to the RDLC file, and you can add as many data sources to the ReportViewer.LocalReport collection as you need to have for your report.
Does that help at all? Otherwise, please clarify your question a bit more.
See a VB.NET sample of retrieving data for a local report from a web service here.
I tried doing this a while ago. I gave up because it wasn't that important, but my idea was this:
Use web service to create a new datasource
Use the web service to change the data source on the report
Render the report in ReportViewer
Switch DataSource back to original using web service.
My knowledge of ssrs is limited, but might be worth a shot.

Resources