Interfaccia IReportViewerMessages2

Defines methods and properties for implementing customized user interface messages.

Spazio dei nomi: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)

Sintassi

'Dichiarazione
'Utilizzo

Osservazioni

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>

[!NOTA]

Please see Impostazioni di Web.config per 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.

Vedere anche

Riferimento

Membri IReportViewerMessages2
Spazio dei nomi Microsoft.Reporting.WebForms