saving report to pdf

Posted on 2012-08-20
Last Modified: 2012-09-19
I created an rdl that creates a 3 page report. On page 2 there are some 10 tablix with one row each. I have set an expression for the row visibility and Row Group visibility in each tablix to avoid white space when the row is hidden. When I test this report in Visual studio and or report server the report is displayed perfectly, with no white space for hidden rows. The report displayed has 3 pages with any member id.

Now, I created a c# web application that uses ReportService2005.asmx and ReportExecution2005.asmx web services to save this report as pdf. On the user interface I pass in the member id and run the rdl, and save the report on file server. It works fine except that the pdf has more more then 3 pages and has white spaces for the hidden rows/tablix. How do I make the pdf resemble the report exactly as it is displayed on the report server or in visual studio preview ?

Question by:patd1
    1 Comment
    LVL 27

    Accepted Solution

    When you change to PDF you have to make all your texboxes NOT grow. All values need to be trimmed.For some reason in PDF it throws in white space when you don't need it.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    varchar (max) 5 22
    import issue in bit values 3 36
    logon trigger -- for login that does not exist 7 12
    sQL pivot 9 10
    Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
    International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
    Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
    Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties

    755 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

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now