Поделиться через


IReportViewerMessages3 Interface

Allows applications to provide customized user interface messages.

Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)

Syntax

'Declaration
Public Interface IReportViewerMessages3
    Inherits IReportViewerMessages2, IReportViewerMessages
'Usage
Dim instance As IReportViewerMessages3
public interface IReportViewerMessages3 : IReportViewerMessages2, IReportViewerMessages
public interface class IReportViewerMessages3 : IReportViewerMessages2, IReportViewerMessages
public interface IReportViewerMessages3 extends IReportViewerMessages2, IReportViewerMessages
public interface IReportViewerMessages3 extends IReportViewerMessages2, IReportViewerMessages

Remarks

You can implement the IReportViewerMessages3 interface to provide custom localization of the ReportViewer control user interface. This implementation is loaded by the ReportViewer control via a custom application setting in the Web.config configuration file with the key ReportViewerMessages.

For example:

<appSettings> 
<add key="ReportViewerMessages" value="MyNamespace.MyClass, APP_CODE" /> 
</appSettings> 

Note

See Web.config Settings for ReportViewer for more information on Web.config file settings.

If a null string value for a property is returned, the ReportViewer control will display the original user interface string for that item.

See Also

Reference

IReportViewerMessages3 Members
Microsoft.Reporting.WebForms Namespace