How to set window title of report viewer?
How to set window title of report viewer?
Is it possible somehow to set the window title of the report preview window in code?
See red circle in attached image.
See red circle in attached image.
- Attachments
-
- Title part of the viewer i need to set to my own text.
- StimulsoftPreviewWindow.png (24.3 KiB) Viewed 3237 times
Thorsten Pontow
It is easier to write an incorrect program than to understand a correct one. (Alan J. Perlis, Epigrams in programming No. 7)
It is easier to write an incorrect program than to understand a correct one. (Alan J. Perlis, Epigrams in programming No. 7)
Re: How to set window title of report viewer?
Hello,
You can use the following code:
Thank you.
You can use the following code:
Code: Select all
StiOptions.Viewer.ViewerTitleText = "YourTitle";
Re: How to set window title of report viewer?
Thanks, works for Forms- and Wpf-Viewer!
Unfortunately it does not work in Silverlight
Any suggestions?
Unfortunately it does not work in Silverlight

Thorsten Pontow
It is easier to write an incorrect program than to understand a correct one. (Alan J. Perlis, Epigrams in programming No. 7)
It is easier to write an incorrect program than to understand a correct one. (Alan J. Perlis, Epigrams in programming No. 7)
Re: How to set window title of report viewer?
Hello,
We made some improvements in that direction.
Please check the last prerelease build when it will be available on next week.
Thank you.
We made some improvements in that direction.
Please check the last prerelease build when it will be available on next week.
Thank you.
Re: How to set window title of report viewer?
Thanks,
it now works in Silverlight too!
it now works in Silverlight too!
Thorsten Pontow
It is easier to write an incorrect program than to understand a correct one. (Alan J. Perlis, Epigrams in programming No. 7)
It is easier to write an incorrect program than to understand a correct one. (Alan J. Perlis, Epigrams in programming No. 7)
Re: How to set window title of report viewer?
Hello,
Thank you for letting us know about this.
Thank you for letting us know about this.