stg
stg
About
- Username
- stg
- Joined
- Visits
- 38
- Last Active
- Roles
- Members, FR Team
Comments
-
Hello! To ensure that a .frx template with a JsonDataSourceConnection retrieves the schema from a file during design time, whilst at runtime it fetches data from memory or another JSON source: Register the connection type once when the application s…
-
Hello! You need to pass a relative web URL accessible via Static Files from the wwwroot folder: // INCORRECT: path to the file on the disk // webReport.Designer.Path = Path.Combine(env.ContentRootPath, ‘wwwroot’, “WebReportDesigner”, ‘index.html’); …
-
Hello! If the template is generated within Versai and the programme overwrites the PrintSettings after the template is loaded, please check whether the correct PaperSource value is set in the PrintSettings, or contact Versai support – it may be that…
-
Hello! Move the optional TextObject to a separate ChildBand (or a separate DataBand / ReportTitle). Set the CanShrink property of this ChildBand to true (if you need to shrink the contents) and hide the band itself in the BeforePrint event or via Vi…
-
Hello! To print two A5 pages on a single A4 sheet without altering the report layout, use the PrintSettings print options: report.PrintSettings.PrintMode = PrintMode.Scale; report.PrintSettings.PagesOnSheet = PagesOnSheet.Two; report.PrintSettings.P…
-
Hello! Try first exporting your ActiveReports reports to RDL/RDLC (if you’re using page/RDL mode) and then importing the resulting .rdl file using the standard FastReport RDLC converter. If you have older ActiveReports section-based reports (.rpx, X…
-
Hello! From your application, export the DataSet schema (and a couple of test rows) once to an XML file with an XSD schema: dataSet.WriteXml(‘schema_for_designer.xml’, XmlWriteMode.WriteSchema); In the Designer, select Data -> Add Data Source -&g…
-
Hello! Set `report.DoublePass = true`. On the first pass (Engine.FirstPass == true), calculate the group total (using Total / a dictionary with the group key: Dictionary<string, decimal>), and on the second pass (Engine.FinalPass == true), in …
-
Hello! In the latest versions of FastReport.Core, exporting Persian text (RTL) to PDF on ASP.NET Core works correctly provided that: The TextObject is set to RightToLeft = true and HorzAlign = Right. TTF fonts containing Persian glyphs (e.g. Tahoma,…
-
Hello! Place an MSChartObject on the GroupHeaderBand (or GroupFooterBand) and register a second alias or copy of the table for the chart to read, or use the series’ Filter property.
-
Hello! Within a DataBand, when cells containing long text expand dynamically, the TableObject requires three conditions to be met: Set AutoSize = true for the relevant TableRow, and set CanGrow = true and WordWrap = true for the TableCell. Be sure t…
-
Hello! To print a specified number of identical labels (for example, based on the ‘Copies’ parameter/column or a fixed number N without duplicating rows in the data table), use the DataBand.RowCount property: // Set this to a fixed value or in the b…
-
Hello! We’re glad the root cause has been identified! We can confirm that FastReport Open Source (and FastReport.Core) itself does not perform any background system operations when the IIS Application Pool starts that could halt the process before t…
-
Hello! The Config.ReportSettings.ShowProgress property is not available in the FastReport.Core, FastReport.Core.Skia and FastReport.OpenSource packages, as these packages do not rely on WinForms/GDI progress dialogues and are designed for server-sid…
-
Hello! Set the WordWrap and CanGrow properties of the TextObject to true (and, if necessary, CanShrink to true as well, if you need the empty space to shrink). On the parent DataBand (or ChildBand) containing the TextObject, also set CanGrow = true …
-
Hello! I am sending you a test application created using FastReport Online Designer https://www.dropbox.com/scl/fi/74anjkrb2m3eeustx81xm/FastReport.Core.Skia.MVC.6.0.%20-Online-Designer-Trial-2.zip?rlkey=jigjg2bil32ce7q6b9h8nxlx1&st=hpqtkheg&am…
-
Hello! To display a progress bar or loading window whilst a long report is being generated in WinForms (FastReport.Net): Set FastReport.Utils.Config.ReportSettings.ShowProgress = true (enabled by default; when exporting manually, also check that pdf…
-
Hello! In the latest versions of FastReport .NET (2027.1.0) and FastReport.Core.Skia, the PDF export module has been completely redesigned: the generation of font subsets for CJK and Unicode now works reliably and does not cause index overflow excep…
-
Hello! In FastReport .NET, there is no need to call external HTTP services — simply use the built-in `BarcodeObject` with the `BarcodeQR` type: var qr = new BarcodeObject { Barcode = new BarcodeQR(), Text = ‘https://example.com/pay?order=123&…
-
Hello! This error occurs if a data source is declared in the report dictionary but is disabled or not bound to a band: // If data is registered from an external DataSet/DataTable report.RegisterData(myDataSet, ‘MyDataSourceName’); // Enable the da…
-
Hello! Our developers are already working on resolving this issue; as soon as the changes are available, we will let you know straight away.
-
Hello! From SQL Server 2016 onwards, you can extract fields directly within the SQL query itself using JSON_VALUE(JsonPayload, “$.Customer”) / OPENJSON(...) — in which case they will appear in FastReport .NET as standard table columns.
-
Hello! I have reproduced your issue, created a task and passed it on to our developers; please expect changes in future versions of FastReport .NET.
-
Hello! In the report page settings (PageSetup / ReportPage), set the exact PaperWidth and PaperHeight (in mm), set any unnecessary margins (LeftMargin, TopMargin, BottomMargin) to zero and, if the label length is variable, set UnlimitedHeight = true…
-
Hello! To resolve this issue, store the opening balance in a report parameter (or a calculated field/script variable) and either add it to the text formula or update the variable in the BeforePrint band: // Mthod 1: parameter + Total with ResetAfter…
-
Hello! In Program.cs / Startup.cs, you must call `app.UseFastReport();` before `app.UseEndpoints` / `app.MapControllers()` (and `builder.Services.AddFastReport();`) to ensure that the handler for `/_fr/preview.printReport?...&printMode=pdf` is a…
-
Hello! When using dynamic SQL queries configured manually outside the designer (for example, when creating a DataSet or TableDataSource in code), nested Master-Detail DataBands work correctly provided that a DataRelation is explicitly defined and bo…
-
Hello! To ensure that Arabic text (RTL) is displayed correctly when preparing a report and exporting to PDF (without breaking ligatures or reversing word order): Set the RightToLeft property to true on the TextObject (and on the ReportPage if necess…
-
Hello! Recommended expression, checking for a null date and explicitly casting to DateTime: [IIf(IsNull(‘Orders.OrderDate’) || ((DateTime)[Orders.OrderDate]). Year <= 1, ‘N/A’, FormatDateTime(AddDays((DateTime)[Orders.OrderDate], -30), ‘yyyy-MM-d…
-
Hello! In Linux, WebReport’s graphical rendering runs on top of the libgdiplus library. Without it, the generation of report images will fail with a DllNotFoundException: sudo apt-get install libgdiplus fontconfig ttf-mscorefonts-installer On Window…