Table of Contents

ExecuteReportAsync method

Where to use this function ?

  • In the code of a UI view
  • In the code of a menu item

How to use it ?

var options = new ExecuteReportOptions("MyReport");

await this.ExecuteReportWithOptionsAsync(options);

Options

ExecuteReportOptions exposes a fluent interface to set options.

They follow the .WithXXX() convention.

For example: options.WithFilter(myFilter).WithParameters(myParameters)

List of available options

Automatic behavior

Localization

PDF generation is localized based on the language information contained in the HTTP request.

But the language can be overridden with the Culture option.