InterfaceITelerikReportingFactory
Represents a factory that provides methods for creating and configuring Telerik Reporting widgets for MVC applications. Used to generate JavaScript representations and initialization scripts for MVC Report Viewer components within web applications.
Definition
Namespace:Telerik.ReportViewer.Mvc
Assembly:Telerik.ReportViewer.Mvc.dll
Syntax:
public interface ITelerikReportingFactory
Methods
DeferredScripts(bool)
Generates deferred initialization statements for Telerik Reporting widgets that have been configured with deferred initialization.
Declaration
DeferredScripts DeferredScripts(bool renderScriptTags = true)
Parameters
renderScriptTags
bool
True to wrap the initialization statements in HTML script tags, false to return only the JavaScript code.
Returns
A DeferredScripts object containing the JavaScript initialization statements for deferred reporting widgets.
Remarks
Used to render initialization scripts at a specific location in the page, typically at the end of the HTML document for optimal performance.
ReportViewer()
Creates and returns an MVC Report Viewer builder for configuring and initializing the report viewer component.
Declaration
IReportViewerBuilder ReportViewer()
Returns
An IReportViewerBuilder instance that provides a fluent API for configuring the MVC Report Viewer.
Remarks
Provides access to the complete configuration API for setting up report sources, display options, and client-side behavior.