Progress® Telerik® Reporting R3 2020

InstanceReportSource Class

This report source is used when you have a reference to an already instantiated report (Report instance). For better performance and compatibility use TypeReportSource. Represents a report source that contains a reference to an instance of IReportDocument.

Inheritance Hierarchy

SystemObject
  Telerik.ReportingReportSource
    Telerik.ReportingInstanceReportSource

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"));

Version Information

Supported in: 1.0.1

See Also

In this article
Not finding the help you need?