Solved

Dynamic Report Width at RunTime based on Parameters

Posted on 2009-07-02
3
1,078 Views
Last Modified: 2012-05-07
I have created an RDL file that displays dynamic columns based upon a multi-value parameter, hiding based is done by the Visibility property.  This is working as expected in the main report viewer screen, returning one page.  However when I select page layout I am receiving two additional pages.  I believe the addtional pages are coming from the overall report width, but I have to have the report that wide in the designer because of all of the dynamic columns.  Is there any way to modify this property through expression at runtime?  The width property of the section doesn't have an expression attached to it.  

Any ideas would be appreciated.  Thanks
0
Comment
Question by:DCG_Developer
  • 2
3 Comments
 
LVL 16

Accepted Solution

by:
Auric1983 earned 500 total points
ID: 24762342
DCG,

See if this from the MS KB helps but in without an expression box I'm not sure that you can define a dynamic width unfortunately.

http://msdn.microsoft.com/en-us/library/ms251701.aspx

0
 

Author Comment

by:DCG_Developer
ID: 24762693
It would appear that this is expected functionality ... Below is the Note from the MSDN article.  This is frustrating!!  I just checked BIDS 2008 and the same deal is there ... no expression on the page size or the interactive size properties.
Note
The width of a report can be greater than the width of the page. If a report that is wider than the specified page size is rendered by a rendering extension that supports page size, the resulting report may flow horizontally across multiple pages. If you have designed a report to be one page wide, but it renders across multiple pages, check that the width of the report is not larger than the page width.
Anybody have any ideas for a work around?
0
 

Author Closing Comment

by:DCG_Developer
ID: 31599130
The final answer was that the functionality could not be accomplished and it seems to be an issue inside of SSRS.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Have you ever had to extract data from a Microsoft SQL Server database and export it to an Excel file, but did not want to use a DTS package? The concept in this article is not new, but it is the answer and will also work on 64-bit SQL boxes.   …
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

920 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

15 Experts available now in Live!

Get 1:1 Help Now