stg
stg
About
- Username
- stg
- Joined
- Visits
- 38
- Last Active
- Roles
- Members, FR Team
Comments
-
Hello! In the latest version of FastReport.Net 2026.2.8, within a .NET 8 WPF project, calling `report.Design(true)` with these settings opened the RibbonDesignerForm without triggering an `OverflowException`. You can update to view the changes.
-
Hello! To resolve the issue, switch the print mode to PDF printing in the WebReport toolbar (PrintInPdf / endpoint exportFormat=pdf) and set the actual receipt height during the first pass (DoublePass = true) to the total height of the content in Pa…
-
Hello! To prevent the extra character from being appended: In Report Designer, select the BarcodeObject, expand the Barcode section in the Properties window and set CalcCheckSum = false. Or in C# code: barcodeObject.Barcode.CalcCheckSum = false;
-
Hello! If the application is running on Windows (.NET Framework / .NET 8 Windows) with the WinForms branch of FastReport.Net (FastReport.Net 2026.2.8), RichObject.BreakTo works as expected (in the test, both objects wrapped the text: Rich1Len = 337,…
-
Hello! If you are staying on the 2023.1.x branch, we recommend either explicitly specifying the latest Microsoft.CodeAnalysis.CSharp / VisualBasic NuGet package in your .csproj file, or updating to the latest version of FastReport.OpenSource
-
Hello! In the server-side handler, before opening the template in WebReport.Designer, call `webReport.Report.RegisterData(sampleOrActualList, ‘MyType’, maxNestingLevel: 3)`, enable the required data source (`GetDataSource(‘MyType’). Enabled = true;)…
-
Hello! When launching an ASP.NET Core / web application: Specify a temporary directory for FastReport.Core\FastReport.Net (e.g. Path.GetTempPath()) and web mode: using FastReport.Utils; var frTemp = Path.Combine(Path.GetTempPath(), ‘FastReport’); D…
-
Hello! In the BeforePrint event of your DataBand, split the string by “?” and, for each path, display a ChildBand containing a single PictureObject (or add a PictureObject to the DataBand, clearing the Objects from the previous string): private void…
-
Hello! To resolve this issue, you can use the String.Substring method (with a length check / String.IsNullOrEmpty) within a Try...Catch block: Private Sub Text1_BeforePrint(sender As Object, e As EventArgs) Try Dim s As String = CStr(Report.Ge…
-
Hello! To resolve this issue, use explicit casting (double)[Total1] or the built-in function ToDouble([Total1]): [IIf(([Total1] - [s1] - 1) == 0, 0, (double)[Total1] / (double)( [Total1] - [s1] - 1) * 100)] (or [IIf(([Total1] - [s1] - 1) == 0, 0, To…
-
Hello! To completely disable progress pop-ups during background printing or PDF export, disable the ShowProgress flag for the reporting engine and the exporter/printer before running: using FastReport.Utils; using FastReport.Export.Pdf; Config.Repo…
-
Hello! When using a List<T> (or other IEnumerable<T> business objects) in Report.RegisterData() without specifying a data source name and binding the report band, the report may indeed be empty. Here are the steps to check: Pass the data…
-
Hello! A standard TextObject with TextRenderType = TextRenderType.HtmlTags (in 1.2.47 — HtmlTags = true) only supports a limited set of inline tags (<b>, <i>, <u>, <sub>, <sup>, <font>, <br>) and cannot rend…
-
Hello! Even if an external ERP system runs templates without your C# code and does not pass custom parameters via `SetParameterValue`, within the .frx script itself (for example, in `_StartReport`) you can retrieve the runtime environment directly i…
-
Hello! To resolve the issue when using a stored procedure without waiting for it to appear in the list: At the table selection step, click ‘Add SQL query...’ (to add your own SQL query). Enter the procedure call manually: EXEC dbo.b_procedure @Param…
-
Hello! The MSChartObject is not included as standard in FastReport.OpenSource (2027.1.0). To test charts, you will need to use FastReport.Net.Demo or the licensed FastReport.Net package.
-
Hello! Without `app.UseFastReport()`, this URL returns a 404 Not Found error, but when the middleware is enabled, it returns a 200 OK. What to do in your `Program.cs` (or `Startup.cs`): using FastReport.Web; builder.Services.AddFastReport(); // ...…
-
Hello! In the Expression property of the parameter itself, the C# expression is written without square brackets — Sqrt(4), not [Sqrt(4)] (square brackets [...] inside Parameter.Expression cause a compilation error; for example: report.Parameters.Add…
-
Hello! To resolve this issue, please use the native FastReport.WPF (which includes its own built-in ViewerControl, free from the limitations of WindowsFormsHost
-
Hello! Open the report page properties (Page1 in Properties) and set the Duplex property to Vertical (long-edge duplex) or Horizontal (short-edge duplex). This setting is saved directly in the .frx file (<ReportPage Name="Page1" Duplex=…
-
Hello! The WinForms call to `rpt.Design()` opens a desktop window on the server and does not work in an ASP.NET Core web application. A separate commercial web component, FastReport Online Designer, is designed for editing .frx templates in a browse…
-
Hello! We have identified a stack-related ArgumentOutOfRangeException in PDFExport. WriteFont(ExportTTFFont) on empty / DBNull rows when exporting from the preview. We tested this on the latest version of FastReport.Core 2026.2.8 using a 2-page Data…
-
Hello! The OverflowException no longer occurs in the latest versions of FastReport.Core and FastReport.OpenSource. You can: Update to the latest version, 2026.2.8 (or 2027.1.0 for OpenSource). In earlier versions, when processing SQL queries with le…
-
Hello! To resolve your issue in Program.cs, please ensure you register `builder.Services.AddFastReport();` and call `app.UseFastReport();` before `app.MapRazorPages();`. Remove the [BindProperty] attribute from the WebReport property in the model if…
-
Hello! Add the following to the launch code after installing the FastReport.Data.MsSql package (in VB.NET): FastReport.Utils.RegisteredObjects.AddConnection(GetType(FastReport.Data.MsSqlDataConnection)) Dim report As New FastReport.Report() report.L…
-
Hello! You’ve got it quite right: the built-in Code tab in the FastReport .NET designer does not contain its own step-through debugger with breakpoints and a Watches window, as was the case in COM FastReport Studio (FastScript), because the report s…
-
Hello! FastReport Designer Community Edition (compatible with FastReport.OpenSource) does not compile external .cs model files directly, which is why only databases and JSON are visible in the data connection window. However, you can still fully des…
-
Hello! The most convenient way to work with BusinessObjects in the Visual Designer without manually editing XML: Save the initial .frx file containing the schema for your DTO from the code (a simple empty typed collection will suffice): using var re…
-
Hello! To solve your problem, you can capitalise only the very first letter of the sentence (Hello world abc): use the following C# expression: [Substring([Data.Text], 0, 1).ToUpper() + Substring([Data.Text], 1).ToLower()] (or with a check for an em…
-
Hello! You can use auto-filtering on the control; to do this, select all the required rows in the query (SELECT * FROM student), then set the DataColumn property for the CheckedListBox on the DialogPage (for example, student.Id) and ensure that Auto…