[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Web.Viewer.ReportViewerConfiguration

ReportViewerConfiguration Class

Represents the configuration options for the report viewer.

Inheritance
ReportViewerConfiguration
Namespace: GrapeCity.ActiveReports.Web.Viewer
Assembly: MESCIUS.ActiveReports.Web.Viewer.dll
Syntax
public class ReportViewerConfiguration

Constructors

Name Description
ReportViewerConfiguration()

Properties

Name Description
LocateDataSource

Gets or sets a function to locate the data source, which included report parameters, based on the provided arguments.

Prefix

Gets or sets the web API endpoint prefix.

Gets or sets a function to preprocess and return a modified hyperlink string.

ResolveCredentials

Gets or sets a function used to resolve credentials required by data sources.

Methods

Name Description
CreateBackendApi()

Creates an instance of IReportViewerBackendApi using the current viewer configuration.

UseCacheDataStorage(Action<CacheDataSettings>)
UseCodeBasedSectionReports(Assembly, string)

Uses the code-based reports that are stored in the assembly.

UseConfig(IConfigurationProvider)

Specifies the custom config provider.

UseConfig(string)

Specifies the path to the ActiveReports.config or GrapeCity.ActiveReports.config file.

UseDataProviders(DataProviderInfo[])

Specifies an array of the custom data provider.

UseEmbeddedTemplates(string, Assembly)

Uses the embedded resources for report files and resources.

UseFileStore(DirectoryInfo)

Uses the built-in file store for report files and resources.

UseFontResolver(IFontResolver)

Specifies the custom font resolver for all situations.

UseReportProvider(GetReportFn, GetReportDescriptorFn)

Uses a custom report simplistic provider.

UseReportProvider(IReportProvider)

Uses a custom report store provider.

UseResourceProvider(GetResourceFn)

Uses a custom resource store provider.

UseResourceProvider(IReportResourceProvider)

Uses a custom resource store provider.