reportviewer

RDLC Report hyperlink are not working in browser

久未见 提交于 2019-12-02 02:26:31
I have a problem with hyperlinks in my rdlc report. I configured a tablix's textbox by applying steps in this tutorial.(It seems very easy though) It seems to hyperlinks are not working in the reportviewer control (I mean when I look to report in browser) but when I export that report to PDF all these links works as shine. I tried setting enableHyperlinks option to true. I tried in different browsers. Any comment on where could I be wrong is appriciated. I'm not sure if this relates to your specific problem or not, but I have recently discovered that if you set the action to URL, it must be a

ReportViewer problem in google chrome

天涯浪子 提交于 2019-12-01 13:37:24
I am using Reportviewer in my asp.net mvc (C#) application. In IE and Firefox, the reportviewer looks fine. But in Chrome, the header and body gets shrinked. I was able to correct the header display problem as suggested in http://www.mazsoft.com/blog/post/2009/08/13/ReportViewer-control-toolbar-in-Google-Chrome-browser.aspx . if ($.browser.safari) { $("#ReportViewerControl table").each(function(i, item) { $(item).css('display', 'inline-block'); }); } But the Body(Viewer) part still appears to be in half of the screen. The problem appears to be with the width of empty second td of the table:

The print button doesn't appear in firefox

梦想与她 提交于 2019-12-01 13:35:22
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? 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/questions/7385923/the-print-button-doesnt-appear-in-firefox

ReportViewer Division by zero

◇◆丶佛笑我妖孽 提交于 2019-12-01 12:50:43
I have some formulas in my reports, and to prevent divsion by zero I do like this in the expression field: =IIF(Fields!F1.Value <> 0, Fields!F2.Value/Fields!F1.Value, 0) This normally works fine, but when both F1 and F2 are zero, I get "#Error" in the report, and I get this warning: "The Value expression for the textbox ‘textbox196’ contains an error: Attempted to divide by zero." Why is that? There has to be a prettier way than this, but this should work: =IIF(Fields!F1.Value <> 0, Fields!F2.Value / IIF(Fields!F1.Value <> 0, Fields!F1.Value, 42), 0) IIF() is just a function, and like with any

ReportViewer - Export report programmatically to a specific location without showing save dialog

梦想的初衷 提交于 2019-12-01 10:50:32
I currently have a Windows Forms ReportViewer that fetches information from an SSRS report. When the information is fetched I have the option to export them to a PDF, Word or Excel document, to do this, first , I need to save to see the document. I would rather have it the other way, which is, export the results to a specific file and then, save the document if that's my choice. Is this possible? You can handle ReportExport event of ReportViewer and set e.Cancel=true; then using Render method of its LocalReport or ServerReport property, export it to desired location. Use LocalReport for rdlc

ReportViewer Division by zero

為{幸葍}努か 提交于 2019-12-01 10:40:38
问题 I have some formulas in my reports, and to prevent divsion by zero I do like this in the expression field: =IIF(Fields!F1.Value <> 0, Fields!F2.Value/Fields!F1.Value, 0) This normally works fine, but when both F1 and F2 are zero, I get "#Error" in the report, and I get this warning: "The Value expression for the textbox ‘textbox196’ contains an error: Attempted to divide by zero." Why is that? 回答1: There has to be a prettier way than this, but this should work: =IIF(Fields!F1.Value <> 0,

ReportViewer - Export report programmatically to a specific location without showing save dialog

落爺英雄遲暮 提交于 2019-12-01 08:07:41
问题 I currently have a Windows Forms ReportViewer that fetches information from an SSRS report. When the information is fetched I have the option to export them to a PDF, Word or Excel document, to do this, first , I need to save to see the document. I would rather have it the other way, which is, export the results to a specific file and then, save the document if that's my choice. Is this possible? 回答1: You can handle ReportExport event of ReportViewer and set e.Cancel=true; then using Render

Could not load file or assembly Microsoft.ReportViewer.WebForms.XmlSerializers

混江龙づ霸主 提交于 2019-12-01 04:37:05
i am using ReportViewer control in my aspx page. i am accessing the report from remote processing mode. this is my code: ReportServerDomain = System.Configuration.ConfigurationSettings.AppSettings["ReportServerDomain"]; ReportServerUserName = System.Configuration.ConfigurationSettings.AppSettings["ReportServerUserName"]; ReportServerPassword = System.Configuration.ConfigurationSettings.AppSettings["ReportServerPassword"]; String ReportFolder = System.Configuration.ConfigurationSettings.AppSettings["ReportFolderName"]; rptUrl = new Uri(Convert.ToString(System.Configuration.ConfigurationSettings

Report Viewer - scaling issue with system DPI change

旧巷老猫 提交于 2019-12-01 04:26:16
I have a Winforms application (in Visual Studio 2010) that contains a Report Viewer control that previews and prints an A4 size report. One user has his Windows font size set to 150% (i.e. a system DPI change) and when he runs the report, it is shrunk to 2/3 size in both the Report Viewer preview and the printed report. The AutoScaleMode property of the form containing the Report Viewer is set to "Font", although it doesn't seem to affect the report if I change this. This isn't a font (missing/scaling) issue as I have an example program to demonstrate the problem that contains nothing but a

Report Viewer Configuration error - In View Source of webpage

给你一囗甜甜゛ 提交于 2019-12-01 02:56:11
I found the following error message when I checked View source of the web page , but the web page works just fine. Our Test lead found the error while performing Assertion tests. Report Viewer Configuration Error: The Report Viewer Web Control HTTP Handler has not been registered in the application's web.config file. Add <add verb=" * " path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler,Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a" /> to the system.web/httpHandlers section of the web.config file, or