Class TypeReportSource
Represents a report source that allows a report document to be instantiated from an System.Type.AssemblyQualifiedName.
Inherited Members
Namespace: Telerik.Reporting
Assembly: Telerik.Reporting.dll
Syntax
public class TypeReportSource : ReportSource, IExpressionContainer, ICloneable
Examples
The following example shows how to create a TypeReportSource:
var typeReportSource = new Telerik.Reporting.TypeReportSource();
// Specifying the assembly qualified name of the Report class for the TypeName of the report source
typeReportSource.TypeName = typeof(Invoice).AssemblyQualifiedName;
// Adding the initial parameter values
typeReportSource.Parameters.Add(new Telerik.Reporting.Parameter("OrderNumber", "SO43659"));
Dim typeReportSource As New Telerik.Reporting.TypeReportSource()
' Specifying the assembly qualified name of the Report class for the TypeName of the report source
typeReportSource.TypeName = GetType(Invoice).AssemblyQualifiedName
' Adding the initial parameter values
typeReportSource.Parameters.Add(New Telerik.Reporting.Parameter("OrderNumber", "SO43659"))
Constructors
TypeReportSource()
Properties
TypeName
Gets or sets the assembly qualified type name of the report document.
Declaration
public string TypeName { get; set; }
Property Value
System.String
|
Remarks
Use this property to specify the type name of the report document. Must be the assembly qualified name of the System.Type of the report.
The target type should implement the IReportDocument interface and should have a default (parameterless) constructor. The default constructor is used from the reporting engine to create the report instance.
This property can accept an expression when the report source is used in a SubReport item or a NavigateToReportAction action.
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
|
Returns
System.Boolean
|
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
System.Int32
|
Overrides
ToString()
Declaration
public override string ToString()
Returns
System.String
|