Progress® Telerik® Reporting R2 2017

InstanceReportSource Class

This is a legacy report source option. For better performance and compatibility use TypeReportSource. Represents a report source that contains a reference to an instance of IReportDocument.

Inheritance Hierarchy

Namespace:  Telerik.Reporting
Assembly:  Telerik.Reporting (in Telerik.Reporting.dll)

Syntax

public class InstanceReportSource : ReportSource

The InstanceReportSource type exposes the following members.

Constructors

  NameDescription
Public methodInstanceReportSource
Initializes a new instance of the InstanceReportSource class.
Top

Properties

  NameDescription
Public propertyParameters
Determines the parameter values that are passed to the IReportDocument object when its instance is initialized.
(Inherited from ReportSource.)
Public propertyReportDocument
IReportDocument instance for the report source.
Top

Methods

Explicit Interface Implementations

Examples

The following example shows how to create an InstanceReportSource:
var instanceReportSource = new Telerik.Reporting.InstanceReportSource();

// Assigning the Report object to the InstanceReportSource
instanceReportSource.ReportDocument = new Telerik.Reporting.Examples.CSharp.Invoice();

// Adding the initial parameter values
instanceReportSource.Parameters.Add(new Telerik.Reporting.Parameter("OrderNumber", "SO43659"));

See Also