Solved

Problem maintaining fonts with SSRS and ASP.Net Report Viewer

Posted on 2009-04-07
2
1,010 Views
Last Modified: 2012-05-06
Environment SQL Server 2005, VS 2008, Server 2003

When using SSRS I 1) Create a report using BIDS, 2) Deploy to the report server, 3) Develope ASP.Net app w/ReportViewer control, 4) Preview looks great but when I run in Debug mode the body of the report has an incorrect font, 5) Export to PDF file is fine.

No code involved; just a SSRS BIDS Report and an ASP.Net Report Viewed Control.
0
Comment
Question by:edbowles
2 Comments
 
LVL 22

Accepted Solution

by:
Jason Scolaro earned 250 total points
ID: 24130154
The joys of SSRS -- I've had issues like this, too.  I'm pretty sure if you try different browsers some show the correct font, some don't (IE?).  I think I got around this issue by using CSS and setting the font and styles that way.  For some reason the ReportViewer just doesn't want to play nicely with what you've constructed in BIDS.  See if some basic CSS helps.  

FYI - Using Firefox with the Firebug extension can help a lot in identifying what CSS classes to use for specific manipulation of styles.

Good luck.

<style type="text/css">
 body { font-family: Verdana; }
</style>

Open in new window

0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Linq asp.net mvc 13 25
ASP.Net MVC Login functions with my own Database and User Tables 2 35
Need syntax help building hyperlink 2 41
ASP.net Markup for Sub Menu 2 46
Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question