Back to Devexpress

IWebDocumentViewerReportResolver.Resolve(String) Method

xtrareports-devexpress-dot-xtrareports-dot-web-dot-webdocumentviewer-dot-iwebdocumentviewerreportresolver-dot-resolve-x28-system-dot-string-x29.md

latest3.4 KB
Original Source

IWebDocumentViewerReportResolver.Resolve(String) Method

Returns a report object based on the specified unique name.

Namespace : DevExpress.XtraReports.Web.WebDocumentViewer

Assembly : DevExpress.XtraReports.v25.2.Web.dll

NuGet Package : DevExpress.Web.Reporting.Common

Declaration

csharp
XtraReport Resolve(
    string reportEntry
)
vb
Function Resolve(
    reportEntry As String
) As XtraReport

Parameters

NameTypeDescription
reportEntryString

A report’s unique name.

|

Returns

TypeDescription
XtraReport

An XtraReport object.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Resolve(String) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

reporting-web-mvc-viewer-clustering/CS/DevExpressWebFarmsWebGardenReporting/CustomCachedReportSourceWebResolver.cs#L17

csharp
public bool TryGetCachedReportSourceWeb(string reportName, out CachedReportSourceWeb cachedReportSourceWeb) {
    var report = reportResolver.Resolve(reportName);
    if (report != null) {

reporting-web-mvc-viewer-clustering/VB/DevExpressWebFarmsWebGardenReporting/CustomCachedReportSourceWebResolver.vb#L17

vb
Public Function TryGetCachedReportSourceWeb(ByVal reportName As String,  ByRef cachedReportSourceWeb As CachedReportSourceWeb) As Boolean Implements ICachedReportSourceWebResolver.TryGetCachedReportSourceWeb
    Dim report = reportResolver.Resolve(reportName)
    If report IsNot Nothing Then

See Also

OpenReport

IWebDocumentViewerReportResolver Interface

IWebDocumentViewerReportResolver Members

DevExpress.XtraReports.Web.WebDocumentViewer Namespace