rdlc

printing rdlc using report viewer 10.0.0.0, print button not showing

隐身守侯 提交于 2019-12-10 21:25:54
问题 I have an rdlc report in an asp.net project.I’m using report viewer 10.0.0.0 to view and print the report. Except for Internet Explorer the print button of the report viewer does not show. Though in my case, print button does show in IE, it gives the error” Unable to load client print control” when it is pressed. I found similar problems reported for report viewer 2008,but the solutions like, installing the SP 1 did not solved my problem. Is there a way to enable printing independent of the

LocalReport.SetParameters Exception An attempt was made to set a report parameter 'ParameterName' that is not defined in this report

孤人 提交于 2019-12-10 18:53:13
问题 i have two buttons (button1, button2) the two buttons open two identical report except that report2.rdlc has a string parameter if i pressed button1 first the message box show parameters count = 0 (as expected) and i get report1.rdlc displayed in the reportviewer1 if then i pressed button2 the message box show parameters count = 0 again (i expect it to show 1) and i get LocalProcessingException {"An attempt was made to set a report parameter 'Report2ParameterString' that is not defined in

How to show a title on each page of the report dynamically created reportviewer

こ雲淡風輕ζ 提交于 2019-12-10 18:52:35
问题 I create the report dynamically, i e, I have no way to open a designer RDLC and fix it. I create a table and fill it through the dataset. Getting XML file and export it to PDF file. But even if I write string deviceInfo = "<DeviceInfo>" + " <OutputFormat>PDF</OutputFormat>" + " <PageWidth>11in</PageWidth>" + " <PageHeight>8.5.0in</PageHeight>" + " <MarginTop>0.05in</MarginTop>" + " <MarginLeft>0.05in</MarginLeft>" + " <MarginRight>0.05in</MarginRight>" + " <MarginBottom>0.05in</MarginBottom>"

Formatting null time in RDLC report

随声附和 提交于 2019-12-10 18:18:14
问题 I am bringing back time values from a record set into an RDLC report. (c# Visual Studio 2013) They are coming is as a nullable Timespan. Which i display as HH:MM This all looks fine until i get a null , if there is no time for record a null is returned,as it's a nullable timespan type. When this happens i get an #error in the RDLC report. What i want to happen is either show "00:00" , or just blank. I have tried adding an IFF to the Expression field in RDLC so that if a null is returned i

how to edit rdlc report without using visual studio

夙愿已清 提交于 2019-12-10 17:45:38
问题 I am now working on Sql Server Management Studio and Visual Studio C#. I created an Stored Procedure to retrieve data from tables in database. Using the result dataset , I created a rdlc report using visual studio report designer. I will install this software(software i am developing) in different systems in different locations. The problem is, the users may want to change the design(only the design, not dataset ) of the reports and I can't install visual studio on all those systems. So, I

User defined reports with SSRS

最后都变了- 提交于 2019-12-10 17:26:32
问题 I have an web application which serves SQL reporting services reports via the reportviewer control. Because of the complexity of some of the reports I use rdlc reports attached to business objects. Now I would like to expand the system and allow some form of user-defined reports. Ideally I would like the users to connect their reports to the same business objects I use to create the rdlc reports. Is there a control that allows users to create/edit their own rdlc files? Can rdl files be

Rendering multiple .rdlc reports into a single PDF using PDFSharp

社会主义新天地 提交于 2019-12-10 16:49:57
问题 I am running multiple reports and combining them into a single PDF file. For each report, I pass the datasource, parameters, and report path to the following. The result is a PDF file with the correct number of pages, but all pages are blank. What am I missing? LocalReport report = null; PdfDocument pdfDoc = new PdfDocument(); private void ProcessReport( ReportDataSource reportDS, ReportParameter[] reportParms, string reportPath) { string format = "PDF"; string deviceInfo = null; string

Microsoft Reporting v.10 load problem

最后都变了- 提交于 2019-12-10 16:47:33
问题 I am trying to reference microsoft reporting v.10.0.0.0 in my vs studio web site. For some reason it can't achieve that as it is always giving me a compile error that it could not load the type. Error 2625 Could not load type 'Microsoft.Reporting.RdlBuildProvider' from assembly 'Microsoft.ReportViewer.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' One thing that I think it might be a cause is that I had moved from 9.0.0.0 to 10.0.0.0 and after that it does not

Preserve white space when hiding textbox in rdlc file

…衆ロ難τιáo~ 提交于 2019-12-10 13:32:08
问题 I've created a report that has an image on the left that is conditionally visible based on a parameter that's passed in to the report. There is another textbox on the right side of the page. I'm observing that when the image's Hidden property is set to "True" then the textbox on the right side stays in the right place. When the image's Hidden property is set to =IFF(1 = 1, true, true), then the textbox on the right is being shifted to the left, and the report looks ugly. How can I have the

RDLC making call to obsolete SecurityAction Enumeration

不想你离开。 提交于 2019-12-10 12:40:08
问题 I'm using Microsoft.Reporting.Webforms version 10 in order to parse an RDLC file and produce a PDF. The RDLC is a simple invoice with a couple of embedded expressions. When I run the application I get an exception that a call to the obsoleted SecurityAction.RequestMinimum has been made when compiling the expressions. Is this a known bug or something I can remedy? An unexpected error occurred while compiling expressions. Native compiler return value: ‘[BC40000] 'RequestMinimum' is obsolete: