reportviewer

How to handle report viewer session expired exception

ぐ巨炮叔叔 提交于 2019-12-04 11:41:06
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 ReportDataSource(); reportDataSource.Name = "DataContainerType"; reportDataSource.Value = DatasourceOnPage; reportDataSource.DataSourceId = "DatasourceOnPageID"; reportDataSource.DataMember = "DataSourceView"; ReportViewer1.ProcessingMode = ProcessingMode.Local;

the application requires that assembly microsoft.reportviewer.processingObjectModel version 11.0.0.0 be installed in the global assembly cache first

元气小坏坏 提交于 2019-12-04 10:57:56
问题 I have a small windows forms application created in Visual Studio 2012 that uses ReportViewer version 11.0.0.0. The application target framework is .NET 4.0 and its deployment method is ClickOnce On my PC it installs but on client machines, intallation fails with error the application requires that assembly microsoft.reportviewer.processingObjectModel version 11.0.0.0 be installed in the global assembly cache first. On the client machines, i have installed .NET 4.0 ReportViewer 2010 Microsoft

Print button not available in ReportViewer using IE11

别说谁变了你拦得住时间么 提交于 2019-12-04 09:22:33
So we noticed that the print button in our ReportViewer ( Version=10.0.0.0 ) is gone after upgrading to IE11 . This is how it looks like in IE10 : After doing some research, we found that other people are also reporting this problem (i.e. here ), but did not find a solution yet. Using the compability mode would be a workaround option, but is not a viable/fitting solution for clients. Did anyone figure out how to fix this? These weeks ,we face the same problem. Finally we find some way to solve it, here is steps: update "Report Viewer 2012 Runtime" to 11.1.3366 update "Microsoft .Net Framework"

How to show headers in each page of the report in Microsoft Report Viewer

拈花ヽ惹草 提交于 2019-12-04 08:59:14
问题 I am trying to create some reports, and I want to show the headers in each page of the reports. I create a table and the uppermost row becomes my header, but it is only shown for the first page of the report. The only thing that can be seen in each page are page headers and page footers, but these parts do not allow a table inside them. All I can use for my work on a page header is a textbox. I tried to write my headers into some texboxes and put them side by side, but then the report data

ReportViewer (SSRS) with VB.NET Appearance error

丶灬走出姿态 提交于 2019-12-04 06:47:38
问题 I want to embed a .net webpage with ReportViewer object. I created a test project and have: <asp:Content runat="server" ID="Content1" ContentPlaceHolderID="FeaturedContent" > <asp:Panel ID="Panel1" runat="server" Height="100%" Width="100%"> <rsweb:ReportViewer ID="ReportViewer2" runat="server" bordercolor="Navy" borderstyle="Solid" borderwidth="1px" height="100%" tooltip="Display Report" width="100%" Font-Names="Verdana" Font-Size="8pt" ProcessingMode="Remote"> <ServerReport ReportPath="

How to show dynamically generated datatable in reportviewer in asp.net?

∥☆過路亽.° 提交于 2019-12-04 06:44:24
问题 I've a ReportViewer(.rdlc) in my app. I want to show a datatable , which is generated dynamically from codebehind, in Reportviewer in Table object. How to do this? dataset has to be sent to report through codebehind. I Have My Code Behind file DataTable dt = Session["ReportOnUser"] as DataTable; if (dt.Rows.Count > 0) { ReportDataSource rds = new ReportDataSource("ReportOnUser", dt); ReportViewer1.LocalReport.DataSources.Clear(); ReportViewer1.LocalReport.DataSources.Add(rds); ReportViewer1

WinForms ReportViewer: slow initial rendering

半世苍凉 提交于 2019-12-04 06:06:24
UPDATE 2.4.2010 Yeah, this is an old question but I thought I would give an update. So, I'm working with the ReportViewer again and it's still rendering slowly on the initial load. The only difference is that the SQL database is on the reporting server. UPDATE 3.16.2009 I have done profiling and it's not the SQL that is making the ReportViewer render slowly on the first call. On the first call, the ReportViewer control locks up the UI thread and makes the program unresponsive. After about 5 seconds the ReportViewer will unlock the UI thread and display "Report is being generated" and then

How to call print from asp.net on a reportviewer control?

最后都变了- 提交于 2019-12-04 04:25:52
问题 I'm using ssrs with an asp.net reportviewer control to display server reports. We want to do away with the toolbar because it doesn't fit with our look and feel but we want to maintain some of the functionality, the one bit I'm struggling with is the print. Is there any way to bring up the same print dialog as the print button on that toolbar from the asp.net page? http://msdn.microsoft.com/en-us/library/ms252091(v=VS.80).aspx Is the closest that I’ve found, however I’m not using local

Report Viewer X Dapper

核能气质少年 提交于 2019-12-04 03:43:39
问题 I'm feeding a ReportDataSource with a query using Dapper. However, I have an empty report, even with an IEnumerable loaded data. When you spend a Datatable works. How do I pass data from a query using Dapper for ReportViewer ? this.reportViewer.LocalReport.DataSources.Clear(); DataTable dt = new DataTable(); dt = CN.Query(Sql, param); Microsoft.Reporting.WinForms.ReportDataSource rprtDTSource = new Microsoft.Reporting.WinForms.ReportDataSource(dt.TableName, dt); this.reportViewer.LocalReport

The print button doesn't appear in firefox

浪尽此生 提交于 2019-12-04 02:11:13
问题 Q: Why the print button doesn't appear in report viewer in the case of browsing through the Firefox ? How to show this button in this browser to print my report? 回答1: This is because the print button is an Active-X control and Active-X controls work only with Internet explorer For the rest of browsers export to pdf or excel and print from the application In case the entire report renders in one page, you can use the browser print button to print the report 来源: https://stackoverflow.com