New to Telerik ReportingStart a free 30-day trial

Creates an UriReportSource instance from relative path to .trdx/.trdp file.

Definition

Namespace:Telerik.Reporting.Services

Assembly:Telerik.Reporting.dll

Syntax:

C#
public class UriReportSourceResolver : ReportSourceResolverBase, IReportSourceResolver

Inheritance: objectReportSourceResolverBaseUriReportSourceResolver

Implements: IReportSourceResolver

Inherited Members ReportSourceResolverBase.AddFallbackResolver(IReportSourceResolver)

Constructors

Initializes a new instance of the UriReportSourceResolver class. Relative paths will be resolved against the application root.

C#
public UriReportSourceResolver()

Initializes a new instance of the UriReportSourceResolver class.

C#
public UriReportSourceResolver(string repositoryDirectory)
Parameters:repositoryDirectorystring

Physical directory where .trdx reports are located. Used as path prefix when relative path is passed for resolving.

Methods

Creates a UriReportSource based on its string representation.

C#
protected override ReportSource ResolveReport(string report)
Parameters:reportstring

The string report representation to resolve.

Returns:

ReportSource

The resulting report source.

Overrides: ReportSourceResolverBase.ResolveReport(string)

Remarks:

Accepts relative and absolute paths.