[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Problem maintaining fonts with SSRS and ASP.Net Report Viewer

Posted on 2009-04-07
2
Medium Priority
?
1,037 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
1 Comment
 
LVL 22

Accepted Solution

by:
Jason Scolaro earned 1000 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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses
Course of the Month19 days, 22 hours left to enroll

872 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