Modifying label and tooltip text in the SQL Server Report Viewer controls (and a localization workaround!)
A while ago, I wrote a bit about how to localize the Report Viewer controls. You can find that information here:
https://blogs.msdn.com/bimusings/archive/2005/09/21/472277.aspx
However, what if you don’t like the localized text that we provide in ReportViewerLP.exe? Or, to take things one step further, what if you want to change the text that we display in the us-en control?
You can easily override any of this stuff to provide your OWN message text by leaning on the IReportViewerMessages interface. Using this puppy, you can replace nearly all of the various text strings (including tool tips!) that get displayed by the control.
Check this great sample out – Pretty much a “copy and paste” implementation J
https://msdn2.microsoft.com/en-us/library/ms254250.aspx
Comments
- Anonymous
November 16, 2006
is there any sample application,I could not implement web.config file<appSettings><add key="ReportViewerMessages" value="MyClass, MyAssembly" /></appSettings>