New to Telerik ReportingStart a free 30-day trial

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:

C#
public class UriReportSource : ReportSource

Inheritance: objectReportSourceUriReportSource

Inherited Members ReportSource.Parameters

Constructors

Initializes a new instance of the UriReportSource class.

C#
public UriReportSource()

Properties

Uri

string

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

C#
public string Uri { get; set; }
Remarks:

A URI.

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

Methods

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

C#
public static UriReportSource Create(string basePath, string reportPath)
Parameters:basePathstring

The base path to resolve against.

reportPathstring

The relative path to the report.

Returns:

UriReportSource

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

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

C#
public override bool Equals(object obj)
Parameters:objobject

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)

Returns the hash code for this UriReportSource.

C#
public override int GetHashCode()
Returns:

int

A 32-bit signed integer hash code.

Overrides: ReportSource.GetHashCode()

Returns a string that represents the current UriReportSource.

C#
public override string ToString()
Returns:

string

A string that represents the Uri of this UriReportSource.

Overrides: ReportSource.ToString()