Class
TypeReportSource

Represents a report source that allows a report document to be instantiated from an AssemblyQualifiedName.

Definition

Namespace:Telerik.Reporting

Assembly:Telerik.Reporting.dll

Syntax:

cs-api-definition
public class TypeReportSource : ReportSource

Inheritance: objectReportSourceTypeReportSource

Inherited Members ReportSource.Parameters

Constructors

TypeReportSource()

Initializes a new instance of the TypeReportSource class.

Declaration

cs-api-definition
public TypeReportSource()

Properties

TypeName

Gets or sets the assembly qualified type name of the report document.

Declaration

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

Property Value

string

Remarks

Use this property to specify the type name of the report document. Must be the assembly qualified name of the 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)

Determines whether this instance and a specified object have the same value.

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

The object to compare with this instance.

Returns

bool

true if obj is a TypeReportSource and its value is the same as this instance; otherwise, false.

Overrides ReportSource.Equals(object)

GetHashCode()

Returns the hash code for this TypeReportSource.

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

A 32-bit signed integer hash code.

Overrides ReportSource.GetHashCode()

ToString()

Returns a string that represents the current TypeReportSource.

Declaration

cs-api-definition
public override string ToString()

Returns

string

A string that represents the TypeName of this TypeReportSource.

Overrides ReportSource.ToString()