Default Avatar

stg

stg

About

Username
stg
Joined
Visits
38
Last Active
Roles
Members, FR Team

Comments

  • Hello! To merge several templates into a single document with continuous pagination (Page i of N) during the Prepare(append: true) stage, the preceding segments do not yet know the total number of pages in the future segments (Page 1 of 1, Page 2 of…
  • Hello! By default, the AllowExpressions property of BarcodeObject is set to false, which means placeholders are printed literally as text without being evaluated. To resolve this issue, set AllowExpressions = true for the BarcodeObject and enter the…
  • Hello! To resolve your issue, disable UnlimitedHeight (split a long report into standard A4/Letter pages) and do not set ImageDpi too high on very large pages (export works reliably with standard A4 pages at 96/300 dpi). A reliable solution for long…
  • Hello! A MatrixObject is a component with its own data source (DataSource). When placed within a Master DataBand or GroupHeaderBand, the matrix iterates through all records in its data source from start to finish, unless explicit filtering is specif…
  • Hello! I am sending you a test application showing an example of how to configure the FastReport.Core application correctly in Blazor. Application: https://drive.google.com/file/d/1Nnt3vfDEiN2uE0vOJGCZqiUrv5L4XhCB/view?usp=sharing
  • Hello! In the standard Data Wizard, when connecting to a database for the first time, the list of tables in the tree allows you to select the required tables manually; clicking the checkbox on the database node selects all tables at once. Please ref…
  • Hello! An example of how to configure Program.cs and Startup.cs for ASP.NET Core Minimal API (.NET 7 / .NET 8): using FastReport.Web; var builder = WebApplication.CreateBuilder(args); builder.Services.AddFastReport(); var app = builder.Build(); ap…
  • Hello! You can use FastReport.Core + PDFExport (or FastReport.Core.Skia for Docker/Linux, which has no dependencies on Windows/GDI+). Unlike FastReport.OpenSource.Export.PdfSimple (which saves pages as images), PDFExport creates a compact PDF with t…
  • Hello! To resolve your issue, execute the stored procedure within your C# code and pass the result to the report using `Report.RegisterData`: var dt = new DataTable(‘ProcResult’); using (var cmd = new SqlCommand(‘dbo.MyStoredProc’, sqlConn)) { cmd.C…
  • Hello! To resolve your issue, check all items programmematically in the Load event handler for your DialogPage: private void Form1_Load(object sender, EventArgs e) { for (int i = 0; i < CheckedListBox1.Items.Count; i++) CheckedListBox1.SetItemChe…
  • Hello! FastReport .NET retrieves the name from `report.ReportInfo.Name`. What to do: report.ReportInfo.Name = ‘Invoice_2026_001’; report.PrintSettings.ShowPrintDialog = false; report.Print();` // or `report.PrintPrepared() If, however, the aim is to…
  • Hello! As the column is already of type `bool`, both notations are valid: [IIf([ContactFamilies.Baptized], ‘Baptised’, ‘Unbaptised’)] // or explicitly: [IIf([ContactFamilies.Baptized] == true, ‘Baptised’, ‘Unbaptised’)] Without square brackets, the …
  • Hello! We’re delighted that you’ve already put together a working layout! For an invoice with VAT breakdown by VAT code, the ideal combination is the Master DataBand (Invoices) -> Detail DataBand (Line Items) + a child Subreport (or a DataBand fr…
  • Hello! Please update all FastReport.Net builds to the latest release, 2027.1.0 (the new versions feature improved DPI isolation when measuring text and exporting to PDF). If the issue persists at 125% DPI with a specific template in version 2027.1.0…
  • Hello! To display the surname in a standard font and the first name in brackets in a smaller font within a single TextObject, enable HTML tags on the object (TextRenderType = HtmlTags; in older versions, set the HtmlTags property to true) and constr…
  • Hello! To resolve your issue, place a text/graphic object labelled ‘PAID’ on the OverlayBand with the following VisibleExpression: OverlayBand -> TextObject (“PAID”, semi-transparent grey) -> VisibleExpression: [Invoice.AmountRemainingString] …
  • Hello! To ensure that Data3 is stretched to fill all the remaining space up to the PageFooter on the current page, use the built-in Engine.FreeSpace property in the Data3_BeforePrint event: private void Data3_BeforePrint(object sender, EventArgs e) …
  • Hello! Our developers are currently working on resolving an issue related to this request; please expect fixes in future versions of FastReport OpenSource.
  • Hello! Instead of manually compiling outdated source code for Npgsql 2.0/3.1, please use the latest pre-compiled FastReport.Data NuGet package. Postgres 2027.1.0 (or 2026.2.8), where the metadata query has already been updated to `pg_get_expr(ad.adb…
  • Hello! Please ensure that both calls before `UseAuthorisation()`, `MapFallback` and `MapControllerRoute` are registered in `Program.cs`: builder.Services.AddFastReport(); // ... app.UseFastReport(); Also, please ensure that paths starting with `/_fr…
  • Hello! I have managed to reproduce this behaviour and have created a bug report to address it. Please expect changes in future versions of FastReport .NET.
  • Hello! To iterate through all TextObjects in the report, there is no need to access the private AllObjects.InnerList. Alongside the ForEachAllConvectedObjects(_Report) method you found, the report.AllObjects collection supports the standard For Each…
  • Hello! We recommend using the following code to resolve the issue (reset the stream position to ms.Position = 0; after report.Export(..., ms) / report.SavePrepared(ms)): Config.ReportSettings.ShowProgress = false; report.Prepare(); using var ms = ne…
  • Hello! In the FastReport Query/Procedure Wizard, call a stored procedure with explicit result set metadata: EXEC dbo.YourStoredProcedure @Param1 = @p1 WITH RESULT SETS ( ( ID INT, ItemName NVARCHAR(100), Amount DECIMAL(18, 2) ) ); Execute the stored…
  • Hello! When you specified /print/wwwroot/Reports, the front-end started requesting scripts and icons from a non-existent URL. Leave `app.UseFastReport();` with the default `RouteBasePath` value (“_fr”) and add `app.UsePathBase(‘/print’);` (or, for a…
  • Hello! When the front and back sides are on two separate ReportPages, FastReport .NET first renders the entire Page1 for all accounts, and then the entire Page2. Instead, place the front and back sides in a single DataBand loop: The main DataBand (b…
  • Hello! The ‘Total’ value within a subreport is reset when moving to a new page if the ‘Total’ properties specify a reset band or event that triggers on a page break (for example, `ResetOnReprint = true`, or if the total is linked to the subreport’s …
  • Hello! To resolve your issue, please use the following code: public sealed class Win32WindowOwner : System.Windows.Forms.IWin32Window { public IntPtr Handle { get; } public Win32WindowOwner(IntPtr hwnd) => Handle = hwnd; } var owner = new Win32W…
  • Hello! FastReport.OpenSource.Export.PdfSimple does not render each page as an image (96 DPI by default) and embed it within the PDF. To resolve this issue, you can increase the DPI (within the OpenSource version) by setting `new PDFSimpleExport { Im…
  • Hello! The error in Azure Pipelines occurs because the encrypted credentials from your local `nuget.config` file are tied to your user profile on your workstation and are not decrypted on the CI agent. What to do in Azure DevOps: In your Azure DevOp…