Class
UriReportSource

Represents a report source that loads a report document from a URI. The URI must point to a physical TRDX, TRDP or TRBP file.

Definition

Namespace:Telerik.Reporting

Assembly:Telerik.Reporting.dll

Syntax:

cs-api-definition
public class UriReportSource : ReportSource

Inheritance: objectReportSourceUriReportSource

Inherited Members ReportSource.Parameters

Constructors

UriReportSource()

Initializes a new instance of the UriReportSource class.

Declaration

cs-api-definition
public UriReportSource()

Properties

Uri

Gets or sets the URI to load the report document from.

Declaration

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

Property Value

string

Remarks

A URI.

This property can accept an expression when the report source is used in a SubReport item or a NavigateToReportAction action.

Methods

Create(string, string)

Creates a UriReportSource by resolving the relative report path against the base path.

Declaration

cs-api-definition
public static UriReportSource Create(string basePath, string reportPath)

Parameters

basePath

string

The base path to resolve against.

reportPath

string

The relative path to the report.

Returns

UriReportSource

A UriReportSource with the resolved URI, or null if the path cannot be resolved.

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 UriReportSource and its value is the same as this instance; otherwise, false.

Overrides ReportSource.Equals(object)

GetHashCode()

Returns the hash code for this UriReportSource.

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 UriReportSource.

Declaration

cs-api-definition
public override string ToString()

Returns

string

A string that represents the Uri of this UriReportSource.

Overrides ReportSource.ToString()