rdlc

How can I change the column order of a SQL Server Report Services report at runtime?

三世轮回 提交于 2019-12-24 15:21:14
问题 I would like to change the sequence of the headers/columns of an *.rdlc report at runtime based on e.g. user preference settings. I found that you can make some columns invisible, but I haven't found a way to change the order of the columns. I am using the ReportViewer control in an ASP.NET web page. And at runtime in this case would mean that the layout can change during two page requests. I read somewhere that you could configure the rdlc xml dynamically or use the rdl object model to

Render RDLC as a PDF, with a HyperLink

泄露秘密 提交于 2019-12-24 11:27:01
问题 I have a requirement to add a Hyperlink to a PDF report (RDLC). The report renders fine before adding the HyperLink (generated via .NET, using parameters and datasets). To make a 'proof of concept' in code I have added ReportViewer1.LocalReport.EnableHyperlinks = True ReportViewer1.HyperlinkTarget = "_Blank" In the RDLC I have added a TextBox, added an Action 'Go to URL' and set the URL as 'http://www.google.com' When rendering I get An error occurred during local report processing When I

C# embedding images, reports, schemas

筅森魡賤 提交于 2019-12-24 10:58:38
问题 I've seen some examples, but trying to better understand how "Resource" files work, such as embedding images, reports, schemas, etc. If building an application, I want to make sure everything is available when deployed, but for things like reports and schemas, I don't want anyone accidentally deleting, renaming, or otherwise mucking around with the content of things. So, embedding these types of items appears to make sense. Then, I just access via the dll via the resources manager. Since I

Could not load file or assembly 'Microsoft.ReportViewer.ProcessingObjectModel, Version=10.0.0.0

北战南征 提交于 2019-12-24 09:30:24
问题 Using MVC5 with rdlc to generate pdf, it's working fine in localhost, but when i deply the application to server when i try to generate report it has error that some assebly are missing..... Server Error in '/webapp' Application. Could not load file or assembly 'Microsoft.ReportViewer.ProcessingObjectModel, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. so far install in webs server iis 2012 1-

need help in sum of time in rdlc

瘦欲@ 提交于 2019-12-24 09:26:53
问题 I am working on attendance management system. In my project i want to display total worked hours of the employee in the daily report. In my database table i have already calculated working hours for the each employee. Now i want to display Total worked hours of each and every entry at the bottom of the report. e.g EmployeeId EmployeeName WorkedHours 1 ABC 04:00:25 2 XYZ 07:23:01 3 PQR 11:02:15 SO i want to display total of all 3 employees at the end of report in RDLC. like Total: 22:25:42

Subreport in RDLC file

眉间皱痕 提交于 2019-12-24 08:39:25
问题 I have one problem in generating Reports in VS2010. I am using RDLC. My task is to generate a report where it should show customer details like Name, Contact number, Email Id etc in the top portion of the report. In the body section it should show the list reservation details. My object structure is as follows: CustomerDetails: Name Age ContactNumber Email Id List<ReservationDetails> ReservationDetails FromDate ToDate Period Amount I do not know how to render the List in subreport. It is not

Hide a report item from print / export of an rdlc report

一笑奈何 提交于 2019-12-24 04:25:07
问题 I have an RDLC with multiple tables and for each table, I have a toggle TextBox Item that hides the corresponding table from the report. It works perfectly, however, I don't want these text boxes to be visible in the printed/exported reports. They are really meant for disabling content in the report and not as content themselves. Is there a way to hide those toggle boxes from only Print Layout and exported versions of the report? I looked at all of the properties of the report textbox and at

The report definition for report 'Report1' has not been specified

删除回忆录丶 提交于 2019-12-24 02:56:23
问题 I created a rdlc report in visual studio 2012 webapplication project.t Did all steps correctly (all are done from the UI's) not do any coding when I run the project I alwasy get following error An error occurred during local report processing. The report definition for report 'Report1' has not been specified Object reference not set to an instance of an object. then set the ReportViewer1.LocalReport.ReportPath= property from the codebehind.then error desapier and working properly.my headache

Rendering .rdlc reports with ASP .NET Core

牧云@^-^@ 提交于 2019-12-24 02:18:38
问题 Is it possible to render .rdlc reports with ASP.NET Core? Currently this only seems to be possible if I target the .NET Framework as opposed to .NET Core. I don't need a report viewer I just need to render the results of an .rdlc report as a byte array. 回答1: You very well can render rdlc into a byte array. Please see a related question I asked a while back. RDLC Local report viewer for ASP.NET Core and Angular(>2.0). Eventually a creative discussion on that thread resulted in an angular

RDLC Page Footer not displaying visual studio 2008

大城市里の小女人 提交于 2019-12-24 01:45:20
问题 I have a project in which I have to use Visual Studio 2008, and I'm trying feverishly to add a Page Footer. It adds from the top menu in VS 2008 under "Reports" However, I cannot see it getting displayed. I have a Excel export link that rips through all the code rendering out the RDLC into Excel. I added a company logo image to the top as a Page Header, that works fine, but not sure why zero from text/images/static and dynamic text is not appearing in footer / bottom of excel page from the