Default Avatar

stg

stg

About

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

Comments

  • Hello! Our developers have managed to rectify this issue; please look out for the changes in the next version of FastReport .NET
  • Hello! To use custom fonts (.ttf / .otf) that are not installed on the system (for example, in Docker / Linux / App Service without administrator rights) Place the font files in a separate folder and specify it in Config.FontListFolder (or load the …
    in Custom Fonts Comment by stg November 19
  • Hello! To export only the users found in your search form to PDF in ASP.NET Core MVC Pass the search string `q` (or an already filtered list of users from EF Core / the database) to the controller method and use `Report` + `PDFExport` to a `MemorySt…
  • Hello! You can determine the current report page being edited in the WinForms Designer directly from the DesignerControl.ActiveReport / Designer.ActiveReportTab property. In the plug-in or host form, obtain an instance of DesignerControl (or RibbonD…
  • Hello! To pass a DataSet to FastReport.Core at runtime, it is important that the table name / ReferenceName in the .frx file exactly matches the name in `RegisterData`, and that the data source is enabled (Enabled = true): using var report = new Rep…
  • Hello! The layout discrepancies (line breaks, spacing, block heights) between Windows, macOS and Linux in FastReport.Core are due to the fact that the base FastReport.Core on non-Windows platforms relies on the outdated libgdiplus library, which mea…
  • Hello! Register the connection using `RegisteredObjects.AddConnection(typeof(JsonDataSourceConnection))`. If you change the structure of the JSON example, be sure to update the connection schema (so that FastReport rescans all properties) and check …
  • Hello! Replace the XmlDataConnection object in report.Dictionary.Connections with a new instance: new XmlDataConnection { Name = ..., XmlFile = ... } and call CreateAllTables() in this case, the new columns will appear immediately.
  • Hello! We have checked the styles.xml file within the .xlsx file, and the <borders> section no longer contains any unwanted red colour (FF0000 / FFFF0000). We recommend updating to the latest release (2026/2027+), or, if using an older version…
  • Hello! The MSChartObject is not available in FastReport.OpenSource  To resolve your issue, you may wish to try out the FastReport.Net.Demo package
  • Hello! Please install the official FastReport.Data.Postgresql package via NuGet and register it in the application’s start-up code: FastReport.Utils.RegisteredObjects.AddConnection(typeof(FastReport.Data.PostgresDataConnection));
  • Hello! The behaviour of the lower ContainerObject’s overlay when the upper ContainerObject on the same DataBand increases in height (CanGrow = true) has been fixed in the latest versions of FastReport .NET
  • Hello! Current download link: https://www.fast-report.com/public_download/fr3tofrx.exe
  • Hello! To resolve this issue, install the FastReport.Data.SQLite package and then register the connector in the code before loading the report: FastReport.Utils.RegisteredObjects.AddConnection(typeof(FastReport.Data.SQLiteDataConnection));
  • Hello! Use caching for the COPY *.csproj layer before running `dotnet restore`, or the Docker BuildKit cache mount (`--mount=type=cache,target=/root/.nuget/packages`), or a local NuGet proxy (Azure Artifacts, Nexus, GitLab/GitHub Package Registry, B…
  • Hello! Unfortunately, the translation is not 100 per cent complete, and the elements shown in the screenshots, as well as the properties, have not been localised.
  • Hello! To filter the DataBand dynamically for the last 2 months from the current date (without hard-coded years and months), use C# date arithmetic with `DateTime.Today.AddMonths(-2)` in `DataBand.Filter`: (DateTime)[Table.DocDate] >= DateTime.To…
    in Date Filter Comment by stg November 19
  • Hello! There are two ways to change the file save path from the preview window (PreviewControl) in WinForms: The initial directory for the save dialogue (SaveInitialDirectory): Config.PreviewSettings.SaveInitialDirectory = @‘C:\Reports\Exports’; // …
  • Hello! As you correctly pointed out at the end of the discussion, to connect third-party compiled connector plug-ins (such as FastReport.Firebird.dll) in the trial build: Use the classic WinForms Demo.exe (FastReport.Net Trial\Demo.exe) rather than …
  • Hello! This issue does not occur in later versions of FastReport.Core + FastReport Online Designer Attachment: https://www.dropbox.com/scl/fi/74anjkrb2m3eeustx81xm/FastReport.Core.Skia.MVC.6.0.%20-Online-Designer-Trial-2.zip?rlkey=jigjg2bil32ce7q6b9…
  • Hello! To avoid running the SQL query repeatedly when exporting the same report in multiple formats (for example, PDF and Excel): Prepare the report once using `report.Prepare()` (the database query will be executed once) and immediately save the pr…
  • Hello! In matrices (including Advanced Matrix and the classic MatrixObject), the GrandTotal cell is designed to apply an aggregate to the source values (i.e. Max(all cells)), rather than the sum of the maximum values across columns/days. To obtain t…
  • Hello! Retrieve the data once at the application level (using Entity Framework, Dapper or ADO.NET) into memory (a DataTable or an IEnumerable<T> collection of models) and register the resulting slice in the report: // Pre-fetch data into memor…
  • Hello! To resolve the issue, update the XmlFile path (and, if applicable, the XsdFile path) for the connection after loading the .frx file: var xmlConn = report.Dictionary.Connections.OfType<XmlDataConnection>().FirstOrDefault(); if (xmlConn !…
  • Hello! To insert a conditional page break immediately before the current line, call `Engine.StartNewPage()` within the `BeforePrint` handler: private void Data1_BeforePrint(object sender, EventArgs e) { if (Convert.ToBoolean(Report.GetColumnValue(‘I…
  • Hello! CanGrow reserves space for blank lines at the end of the text; please remove them before outputting (use TrimEnd(), and set CanShrink = true if the text is shorter than the block height). For accurate measurements on Linux, switch to FastRepo…
  • Hello! By default, FastReport .NET sets the coordinates for two columns to [0, 95] (in mm), so the left-hand column is printed first. To ensure that the first column is printed on the right and the second on the left, simply reverse the order of the…
  • Hello! To filter the DataBand based on the value of a CheckBox on a dialogue box (or a boolean parameter: for example, when the checkbox is ticked, display only rows where Amount == 0, and when it is unticked, display all rows), set the following co…
  • Hello! The PictureObject.DataColumn property is designed to be bound to a column in the data source ([Table.ImageCol]); if you pass a Report Parameter name (e.g. DataColumn = ‘ImgA’) without specifying a table, the image will not load! To reliably d…
  • Hello! In the latest versions of FastReport Open Source (e.g. 2027.1.0), the execution of C# scripts (BeforePrint, StartReport, etc.) when calling Report.Prepare() is now supported and has been fixed.