• 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 ASP.NET AJAX UI for ASP.NET MVC UI for ASP.NET Core UI for Blazor UI for Silverlight UI for PHP UI for JSP
    Mobile
    UI for .NET MAUI UI for Xamarin
    Document Management
    Telerik Document Processing
    Desktop
    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF UI for UWP
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    CMS
    Sitefinity
    UI/UX Design
    Unite UX
    Debugging
    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Jam FiddlerCap FiddlerCore
    Extended Reality
    UI for Unity XR
    Free Tools
    JustAssembly JustDecompile VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Search
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Interface IReportService

Represents the Telerik Reporting service.

Namespace: Telerik.Reporting.Service
Assembly: Telerik.Reporting.Service.dll

Syntax

public interface IReportService

Methods

GetPage(String, Int32)

Retrieves a rendered page for the given rendering session ID and page number. This operation is intended for internal use only.

Declaration
PageInfo GetPage(string instanceID, int pageNumber)
Parameters
System.String instanceID

The unique identifier of the rendering session as returned by a previous call to a RenderAndCache operation.

System.Int32 pageNumber

The serial number of the page to retrieve.

Returns
PageInfo

A PageInfo that contains the page data.

GetReportParameters(String, NameValueDictionary, NameValueDictionary)

Retrieve a list of the report parameters for the given report and values. This operation is intended for internal use only.

Declaration
List<Parameter> GetReportParameters(string report, NameValueDictionary deviceInfo, NameValueDictionary parameters)
Parameters
System.String report

The System.Type.AssemblyQualifiedName of the report type for which to obtain the parameters.

NameValueDictionary deviceInfo

A dictionary with settings for the current device.

NameValueDictionary parameters

A dictionary with values for the report parameters.

Returns
System.Collections.Generic.List<Parameter>

A list of report parameters.

ListAvailableReports()

Retrieves the list of the available for the service reports.

Declaration
IList<ReportInfo> ListAvailableReports()
Returns
System.Collections.Generic.IList<ReportInfo>

List of the available reports.

ListRenderingExtensions()

Retrieves the list of the available rendering extensions.

Declaration
IList<ExtensionInfo> ListRenderingExtensions()
Returns
System.Collections.Generic.IList<ExtensionInfo>

List of the available rendering extensions.

Render(String, String, NameValueDictionary, NameValueDictionary)

Renders a report and returns the generated document.

Declaration
RenderingResult Render(string format, string report, NameValueDictionary deviceInfo, NameValueDictionary parameters)
Parameters
System.String format

The render format.

System.String report

The System.Type.AssemblyQualifiedName of the report type to render.

NameValueDictionary deviceInfo

A NameValueDictionary with setting for the current render format.

NameValueDictionary parameters

A NameValueDictionary with values for the report parameters.

Returns
RenderingResult

A RenderingResult that contains the generated document bytes and info.

RenderAndCache(String, String, NameValueDictionary, NameValueDictionary)

Renders a report and stores the result in the current session. This operation is intended for internal use only.

Declaration
RenderingSessionInfo RenderAndCache(string format, string report, NameValueDictionary deviceInfo, NameValueDictionary parameters)
Parameters
System.String format

The render format.

System.String report

The System.Type.AssemblyQualifiedName of the report type to render.

NameValueDictionary deviceInfo

A NameValueDictionary with setting for the current render format.

NameValueDictionary parameters

A NameValueDictionary with values for the report parameters.

Returns
RenderingSessionInfo

A RenderingSessionInfo that contains the result of the rendering operation.

Remarks

Requires ASP.NET session.

Was this article helpful?

Tell us how we can improve this article

Skip
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.