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