Class
ReportSource

Provides a configuration class for the report source used in the HTML5 WebForms ReportViewer. Contains the collection of parameter values, report identifier, and identifier type for configuring report loading and processing.

Definition

Namespace:Telerik.ReportViewer.Html5.WebForms

Assembly:Telerik.ReportViewer.Html5.WebForms.dll

Syntax:

cs-api-definition
[TypeConverter(typeof(ReportSourceConverter))]
public class ReportSource

Inheritance: objectReportSource

Constructors

ReportSource()

Initializes a new instance of the ReportSource class with default settings.

Declaration

cs-api-definition
public ReportSource()

Properties

Identifier

Gets or sets the report identifier used to locate and load the report in the HTML5 viewer.

Declaration

cs-api-definition
public string Identifier { get; set; }

Property Value

string

Remarks

The format and interpretation of this identifier depends on the IdentifierType setting and determines how the report is resolved and loaded.

IdentifierType

Gets or sets the type of the report identifier that determines how the identifier is interpreted and resolved.

Declaration

cs-api-definition
public IdentifierType IdentifierType { get; set; }

Property Value

IdentifierType

Remarks

Specifies whether the identifier represents a type name, URI, or custom identifier format for report loading in the HTML5 viewer.

Parameters

Gets a collection of parameter values passed to the IReportDocument object when initialized in the HTML5 viewer.

Declaration

cs-api-definition
[PersistenceMode(PersistenceMode.InnerProperty)]
public ParameterCollection Parameters { get; }

Property Value

ParameterCollection

Remarks

Contains parameter name-value pairs that will be applied to the report during initialization and processing in the HTML5 WebForms ReportViewer.