skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Use Reports in Applications
    • System Requirements
    • Forums
    • Videos
    • Blogs
    • Submit a Ticket
    • FAQs
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now
Search all

Class FileReportSourceResolver

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

Inheritance
System.Object
ReportSourceResolver
FileReportSourceResolver
Inherited Members
ReportSourceResolver.IReportResolver.Resolve(ReportSource)
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
ReportSourceResolver.CanResolve(ReportSource)

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.

Overrides
ReportSourceResolver.Resolve(ReportSource)
Getting Started
  • Install Now
  • Online Demos
Support Resources
  • Documentation
  • Knowledge Base
  • Videos
  • Reporting Samples Repository
  • Reporting Release History
Community
  • Forums
  • Blogs
  • Reporting Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.