reportviewer

How to handle report viewer session expired exception

I have the following situation: Microsoft Report Viewer 2010 is used to display reports (.rdlc files) in local mode in an ASP.NET web application. The report data is supplied by assigning a datasource in the code behind of an ASPX page. Here's an example: if(!IsPostBack){ ReportViewer1.Reset(); ReportDataSource reportDataSource = new R...

Counting gone horribly wrong

I'm trying to create a rdlc report in Visual Studio 2008 and I'm having a bit of trouble with the totals at the end. I have a string field called "Reward" that displays either 1, 2, 3 or B. At the end of the report, I need to count up how many total records, how many "B"s and how many are not "B"s. So my inclination is to have three f...

Report Viewer 10 Windows Authentication

i've recently updated a few projects to VS2010 that also included updating some RDLC local reports that i use with the MS Report Viewer. My data sources are LinqToSql for each project. One project uses SQL authentication mode and works great after the update to VS2010. However, the two projects that use Windows Authentication have bee...

how to get print button over here in website reportviewer in asp.net

in Report viewver in website im not getting the print option. i have used ReportViewer1.ShowPrintButton =true; but still no print option came. how to get print button over here in website reportviewer in asp.net ...

ReportViewer: two text colors, one cell

Is it possible to have 2 areas of text in one cell such that each can have a different color? You can do this in crystal reports but I cannot see a way to do this in ReportViewer. What it is doing is essentially highlighting an important text fragment if it appears in a cell description to draw the users attention. I am fairly new to rep...

Microsoft ReportViewer - ASP.NET Session Expired

This question is related to http://stackoverflow.com/questions/178600/microsoft-reportviewer-session-expired-errors. Unfortunately, the accepted answer does not solve my issue. The report viewer in question is running in a farm, with multiple worker processes running in each app pool. Session mode is SQL. I have implemented IReportSe...

ASP.NET one page multiple RDLC , report viewer - is it possible

We have an application that will host about 13 reports. A reporting services server is not available. The plan is to generate rdlc's and use a ASP.NET report viewer control to display them. After googling a little bit looks like the solution is to have a page for each report with its own report viewer control. I was wondering if it is po...

How do I hide sections based upon some criteria?

I'm working on a SQL Server Reporting Service report, that will eventually be in my WPF app. There are certain sections of the report which should only be shown, if certain conditions are met. How do I make sections appear or be hidden/collapsed in the Report Viewer? (I'm working in VS 2010.) ...

ASP.NET 4.0 - Hosting a ReportViewer control inside a Web Part control

Hi, I have a series of reports designed in Reporting Services that I'd like to make available through a single ASP.NET web page. I plan to make the reports available via the ReportViewer control. Unfortunately we don't have SharePoint available and my company isn't looking to buy it - so I'm stuck (I believe) with this method. Is it po...

Error rendering ReportViewer (10.0.0.0 in LocalMode) directly to PDF when passing in an empty recordset.

I have a utility method (below) that has always served me well. After databinding a report control, I pass the control to this and it renders the report as a PDF. I recently upgraded to .NET 4.0 and the new 2010 report viewer control (10.0.0.0). Now it throws the error (below) if the recordset (dataset) I pass to the reportviewer does...

C# ReportViewer Resources?

What sites and/or books do you recommend for someone trying to learn more about ReportViewer (for C#) in VS2008/2010? I've checked out MSDN and some various sites, but most seem to be lacking in this area. A note about what we're doing. We're converting old PDF reports to ReportViewer. Most have been easy, but some are more complex and ...

Publishing RDLC files

I have a few RDLC files in my WPF application. When I publish the project, the report files don't get published, and when I try to access them with the client I get an error saying that they're not found. I've checked the publish folder, and indeed, they're not there. I call the RDLC files with the following code: Microsoft.Reporting.Wi...

Displaying ReportViewer Report on One Page

I'm running ASP.NET/C# 3.5 with ReportViewer 2005. I'm having an issue where part of the data that gets spit out by the report gets split into pages one and two. The trouble is that most people don't notice pagination in the ReportViewer (I didn't even notice it myself for a while). Is there a way to restrict ReportViewer so that the re...

Creating a Custom Export to Excel for ReportViewer (rdlc)

I'm interested in creating a custom Export to Excel option for my Report in ReportViewer. This is mostly because I want pdf disalbed and I did that via: ReportViewer1.ShowExportControls = false; Since there is no way to disable any specific export functionality (e.g. pdf but not excel) in ReportViewer. Here's my (slightly) modified c...

Export to excel using report viewer and reportservices

I try to export a report as excel. I am using a report viewer control in a aspx page, the report is on a SSRS 2005 server. The report is rendered ok, I can see it in the browser, I can export it but I cannot open the xls file (neither pdf file). If I open the report directly from SSRS and export from there than the file is readable. I h...

Exporting ReportViewer to HTML

Does anyone know a way of providing an Export to HTML for ReportViewer WebForms? I know by default, Image, PDF and Excel are supported formats. I'm guessing there must be some sort of workaround to get the HTML of the report out? ...

Adding Reporting Capabilities to MVC?

Background: I currently have a Web Forms, ASP.NET 3.5/C# application which I'm interested in converting to MVC 2. It's a relatively tiny app so the exercise shouldn't take too long. The two primary functions the appliction does is allow users to 1) view and enter their data - metrics 2) view output reports of this data aggreggated at ...

rdlc for reportviewer

hello I create a RDLC file for reportviwer. I have two problems now: 1- I have two sort in sortexpretion for my table but it doesnt work for the second one and sort done according to the just first sort. 2- when i use a table in my body (while there is enogh space) ,my body divides two pages and after my table a new page appear while my ...

SQL Server Reporting Services ReportViewer authentication

I'm working on a project involving the .NET ReportViewer, and I'm having issues connecting to the Report Server. I'm a .NET newbie so bear with me. I can't put up the code but hopefully someone will be able to give me a little guidance here. I dragged the ReportViewer control from the toolbox onto a newly created page. Eleventy billi...

Report Parameters Missing in VS2010?

This may be a silly question but where did they bury report parameters in VS2010? It was easy in 2005/2008. Go to report menu then select report parameters. Now I can't for the life of me find it anywhere! Thanks. ...