skip navigation
  • Product Bundles

    DevCraft

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

    • MCP Servers
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact 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 Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    MCP Servers

    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 ReportFileResolver

Resolves report file paths and creates UriReportSource instances from relative paths to .trdx/.trdp report files.

Inheritance
System.Object
ReportResolverBase
ReportFileResolver
Inherited Members
ReportResolverBase.AddFallbackResolver(IReportResolver)
ReportResolverBase.IReportResolver.Resolve(String)
Namespace: Telerik.Reporting.Services.WebApi
Assembly: Telerik.Reporting.Services.WebApi.dll

Syntax

[Obsolete("The Telerik.Reporting.Services.WebApi.ReportFileResolver is now obsolete. Please use the Telerik.Reporting.Services.UriReportSourceResolver class instead.")]
public class ReportFileResolver : ReportResolverBase, IReportResolver
Remarks

This class is obsolete. Please use the UriReportSourceResolver class instead. Provides functionality to resolve both relative and absolute paths to Telerik report definition files.

Constructors

ReportFileResolver()

Initializes a new instance of the ReportFileResolver class using the application root directory.

Declaration
public ReportFileResolver()
Remarks

Relative paths will be resolved against the application root directory obtained from HttpContext.Current.Server.MapPath("~"). This constructor is suitable for web applications where reports are stored relative to the application root.

ReportFileResolver(String)

Initializes a new instance of the ReportFileResolver class with a specified repository directory.

Declaration
public ReportFileResolver(string repositoryDirectory)
Parameters
System.String repositoryDirectory

The physical directory path where .trdx/.trdp report files are located. This directory serves as the base path for resolving relative report paths.

Remarks

The repository directory is used as a path prefix when relative paths are provided for report resolution. Ensure the directory exists and the application has read permissions to access report files.

Methods

ResolveReport(String)

Creates a UriReportSource instance based on the provided string representation of a report path.

Declaration
protected override ReportSource ResolveReport(string report)
Parameters
System.String report

The string representation of the report path to resolve. Can be either a relative or absolute path to a .trdx/.trdp file.

Returns
ReportSource

A UriReportSource instance that represents the resolved report source.

Overrides
ReportResolverBase.ResolveReport(String)
Remarks

This method accepts both relative and absolute paths to report definition files. Relative paths are resolved against the repository directory specified during construction. Absolute paths are used as-is without modification.

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.