reportviewer

MSBuild Using Wrong Version of Assembly to Compile RDLC File

对着背影说爱祢 提交于 2019-12-05 01:22:25
I am using the reportviewer control from VS 2010 to create client side reports (rdlc). Everything is working fine on my development machine, and when I manually compile (via VS2010) and manually deploy to a test machine that doesn't have development tools installed. In order to get the test machine to work (without installing VS2010 or ReportViewer.exe), I had to add references in my project to Microsoft.ReportViewer.Winforms, Microsoft.ReportViewer.Common and Microsoft.ReportViewer.ProcessingModel and have them all "Copy Local". I have the rdlc files configured for Build Action => embedded

Microsoft ReportViewer Web Control Requiring a ScriptManager

佐手、 提交于 2019-12-05 00:31:15
I'm trying to render the report viewer programmatically within a custom Page placed in an IHttpHandler context ReportViewer rv = new ReportViewer(); ReportDataSource rds = new ReportDataSource(); rds.Name = "Report"; rv.LocalReport.ReportPath = "Report.rdlc"; rds.Value = SomeReportObject; rv.LocalReport.DataSources.Add(rds); rv.LocalReport.Refresh(); ScriptManager scriptHandler = new ScriptManager(); MyPage p = new MyPage(); p.Controls.Add(scriptHandler); p.Controls.Add(rv); using (TextWriter myTextWriter = new StringWriter()) { using (HtmlTextWriter myWriter = new HtmlTextWriter(myTextWriter)

How to view multipe reports in 1 crystal reports viewer?

让人想犯罪 __ 提交于 2019-12-04 21:05:13
How can I open 2 seperate reports in 1 crystal reports viewer at a single time? And when previewing the report, I see that my subreport doesn't filled its parent control width, how to Subreport width fill its parent width? I use crystal reports for visual studio 2010. As far as I know you can't have multiple reports show in the same viewer as the report gets bound to the viewer. Now there are some ways of getting around that and making it look like you have multiple reports showing in one viewer: 1) You could append multiple viewers to your page and suppress all toolbars. 2) You could make

c# ReportViewer Export

爷,独闯天下 提交于 2019-12-04 20:22:38
In ReportView I want to export to the following formats: .docx, .pdf, or .xlsx Export to .pdf: reportViewer.ExportDialog(_reportViewer.LocalReport.ListRenderingExtensions()[3]); Export to .docx: reportViewer.ExportDialog(_reportViewer.LocalReport.ListRenderingExtensions()[5]); Export to .xlsx: reportViewer.ExportDialog(_reportViewer.LocalReport.ListRenderingExtensions()[1]); But at first I have to choose a format for saving. I want at first to open SaveFileDialog and in it to choose a format for saving How can I do it ? Zhenia Here's the code I came up with: string _sSuggestedName = String

How to show images on an RDLC report

此生再无相见时 提交于 2019-12-04 19:06:11
问题 I have an RDLC report and would like one of the columns in a table on this report to display images. The datasource for my report is a class that has a property called Image of type System.Drawing.Image . On my report I dragged an image control onto the column and I set the following properties: MIMEType: image/png Source: Database Value: =Fields!Image.Value When I run my report, I get a broken image. I'd really appreciate any suggestions! Thanks in advance :o) 回答1: I don't know if this is

reporting tool/viewer for large datasets

拥有回忆 提交于 2019-12-04 16:48:37
I have a data processing system that generates very large reports on the data it processes. By "large" I mean that a "small" execution of this system produces about 30 MB of reporting data when dumped into a CSV file and a large dataset is about 130-150 MB (I'm sure someone out there has a bigger idea of "large" but that's not the point... ;) Excel has the ideal interface for the report consumers in the form of its Data Lists: users can filter and segment the data on-the-fly to see the specific details that they are interested in (because they're not really interested in the many thousands of

Publishing Web site without installing Microsoft Report Viewer

无人久伴 提交于 2019-12-04 16:16:41
问题 I have a web server with ftp access only, and I can't install Microsoft Report Viewer on it. How do I publish my asp.net app to the IIS without installing ReportViewer ? I have copied following dlls to my site bin folder: Microsoft.ReportViewer.WebForms.dll Microsoft.ReportViewer.Common.dll Now I am getting error saying: An error occurred during local report processing. The definition of the report 'Reports\QuotationViewReport.rdlc' is invalid. An unexpected error occurred in Report

Will there be a SSRS reportviewer in ASP.NET 5 MVC 6?

巧了我就是萌 提交于 2019-12-04 14:16:54
I am working on upgrading an ASP.NET 4.0 WebForms app to MVC6 and cannot find a solution for displaying SSRS reports. With the absents of System.Web the Microsoft ReportViewer control no longer works. What is the best practice for displaying SSRS reports on the web in ASP.NET 5? @Brian - ASP.NET MVC 6 is still in beta stage, its very early to plan for upgrading ASP.NET 4 web forms to MVC 6. Please try using ASP.NET MVC 5 for upgrading web forms, it (MVC5) will be there for many years to come. ASP.NET 5 will take good amount of time to mature, so don't hurry. There's no direct support for the

How to Add Two DataTables to a Tablix Using ReportViewer Design

寵の児 提交于 2019-12-04 14:02:24
I am trying to add two DataTables to a Table (tablix) in my report using ReportViewer. DataTables dtPrograms (Name, Description) dtImprovements (Improvement) I'll have a list of programs and a list of improvements for each program. Here's an example of what I'm looking for: I'm not sure how to design my ReportViewer. Is using a Table (tablix) a good method or are there easier methods of doing so? Perhaps using a Matrix? How would you go about designing a report that contains two DataTables? Detailed Solution I manually created a DataSet ( ds ), a DataTable ( dtTest ) and manually populated it

A data source instance has not been supplied for the data source 'Request'

妖精的绣舞 提交于 2019-12-04 12:45:34
I'm getting an error on my reportviewer which I am not sure how to correct this.... The error that I am gettings is : " A data source instance has not been supplied for the data source 'Request'." I have tried searching for this, but can't find anything that I can see that is wrong, can somebody please point me in the right direction? This is how my reportvierer looks like: <rsweb:ReportViewer ID="rptViewer" runat="server" Height="654px" Width="924px" Font-Names="Verdana" Font-Size="8pt" InteractiveDeviceInfos="(Collection)" WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt">