You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What threw me was as you type, viewer.Font appears as only having {get}, however viewer.Font.Name appears as FontInfo {get, set}.
However just setting the Font Name works everywhere on the control, which includes both toolbars and report parameters, including the report loading spinner and the new print control.
Now this could be because I created a css file for the SSRS to match that of our rebrand, which you link in the SSRS WebConfig.
Activity
itg-assistant commentedon Jun 12, 2026
Luca answered 2018-02-02 21:41:56 UTC
I don't know if the ReportViewer ASP.NET object can reach the toolbar. You can set the font in OnInit or OnLoad:
viewer.Font.Name = "Verdana";
viewer.Font.Size = 30;
Or you can set the css class:
viewer.CssClass = "viewer-mystyle";
To define the css simply use a css file and link it in default.html like a standard html page.
itg-assistant commentedon Jun 12, 2026
Ewan Walker answered 2018-02-05 08:24:12 UTC
Hi Luca
Thanks.
What threw me was as you type, viewer.Font appears as only having {get}, however viewer.Font.Name appears as FontInfo {get, set}.
However just setting the Font Name works everywhere on the control, which includes both toolbars and report parameters, including the report loading spinner and the new print control.
Now this could be because I created a css file for the SSRS to match that of our rebrand, which you link in the SSRS WebConfig.
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/7e4478fb-932c-4762-b271-fc05afe95add/change-reportviewer-style?forum=sqlreportingservices
The font used on the actual reports stays unchanged which makes sense as this needs changing using Visual Studio report designer, for each report
itg-assistant commentedon Jun 12, 2026
Ewan Walker answered 2018-05-03 10:23:31 UTC
Since upgrading to Windows 10 1803 the font no longer works. Is this an issue with SSRS and Windows 10 1803?
Just Checking