Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IReportViewerMessages2 Interface
Collapse the table of content
Expand the table of content

IReportViewerMessages2 Interface

Defines methods and properties for implementing customized user interface messages.

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

public interface IReportViewerMessages2 : IReportViewerMessages
public interface IReportViewerMessages2 extends IReportViewerMessages
public interface IReportViewerMessages2 extends IReportViewerMessages

You can implement the IReportViewerMessages2 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="MyClass, MyAssembly" />

</appSettings>

NoteNote

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

Show:
© 2015 Microsoft