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

    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 DefaultSharedDataSourceResolver

Inheritance
System.Object
DefaultSharedDataSourceResolver
FileBasedSharedDataSourceResolver
Namespace: Telerik.Reporting.Processing
Assembly: Telerik.Reporting.dll

Syntax

public class DefaultSharedDataSourceResolver : ISharedDataSourceResolver

Constructors

DefaultSharedDataSourceResolver(IResourceResolver)

Declaration
public DefaultSharedDataSourceResolver(IResourceResolver resourceResolver)
Parameters
IResourceResolver resourceResolver

Properties

ResourceResolver

Declaration
protected IResourceResolver ResourceResolver { get; }
Property Value
IResourceResolver

Methods

EnsureXmlSchema(String)

Ensures that the XML has schema. Not including the schema may produce unexpected results. Example: if a CSV markup doesn't have schema, the serializer falls back to version 4.0, which doesn't have the Source value encoded as Base64 value. As a result, a repeated Base64-decoding occurs, producing unreadable result.

Declaration
public static void EnsureXmlSchema(string xmlDefinition)
Parameters
System.String xmlDefinition

Exceptions
SerializationException

ResolveDataSource(Object)

Declaration
public virtual DataSource ResolveDataSource(object resolvedResource)
Parameters
System.Object resolvedResource

Returns
DataSource

RetrieveXmlOverride(String)

Declaration
protected virtual string RetrieveXmlOverride(string resolvedResourceString)
Parameters
System.String resolvedResourceString

Returns
System.String

Explicit Interface Implementations

ISharedDataSourceResolver.Resolve(String)

Resolves the SharedDataSource URI using the existing IResourceResolver.

Declaration
DataSource ISharedDataSourceResolver.Resolve(string sharedDataSourceUri)
Parameters
System.String sharedDataSourceUri

Path to the SDS resource.

Returns
DataSource

Implements
ISharedDataSourceResolver.Resolve(String)
Remarks

If the sharedDataSourceUri contains a relative path, any leading slashes will be trimmed to avoid replacing the relative part of the absolute URI. See the Remarks section of URI class: https://learn.microsoft.com/en-us/dotnet/api/system.uri.-ctor?view=netframework-4.0#system-uri-ctor(system-uri-system-string)

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.