Class FileReportSourceResolver
Creates an relative path to .trdx/.trdp file from UriReportSource instance.
Inherited Members
Namespace: Telerik.ReportViewer.Mvc
Assembly: Telerik.ReportViewer.Mvc.dll
Syntax
[Obsolete]
public class FileReportSourceResolver : ReportSourceResolver, IReportResolver
Constructors
FileReportSourceResolver()
Initializes a new instance of the FileReportSourceResolver class.
Declaration
public FileReportSourceResolver()
FileReportSourceResolver(String)
Initializes a new instance of the FileReportSourceResolver class.
Declaration
public FileReportSourceResolver(string basePath)
Parameters
System.String
basePath
Physical directory where .trdx/.trdp reports are located. Used as path prefix when relative path is passed for resolving. |
FileReportSourceResolver(IReportResolver, String)
Initializes a new instance of the FileReportSourceResolver class.
Declaration
public FileReportSourceResolver(IReportResolver parent, string basePath)
Parameters
IReportResolver
parent
The fallback resolver |
System.String
basePath
Physical directory where .trdx/.trdp reports are located. Used as path prefix when relative path is passed for resolving. |
Methods
CanResolve(ReportSource)
Determines if a ReportSource can be resolved as a UriReportSource.
Declaration
protected override bool CanResolve(ReportSource reportSource)
Parameters
ReportSource
reportSource
The ReportSource to be resolved. |
Returns
System.Boolean
True if the ReportSource can be resolved as UriReportSource. Otherwise returns false. |
Overrides
Resolve(ReportSource)
Resolves the ReportSource as UriReportSource to string.
Declaration
protected override string Resolve(ReportSource reportSource)
Parameters
ReportSource
reportSource
The ReportSource to be resolved. |
Returns
System.String
The resolved ReportSource as string. |