Solved

Problem maintaining fonts with SSRS and ASP.Net Report Viewer

Posted on 2009-04-07
2
1,013 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
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 …
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

688 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