Solved

Dynamic Report Width at RunTime based on Parameters

Posted on 2009-07-02
3
1,088 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

A recent questions about how to add SSRS named instances, couldn't find any that talks about SQL server 2008, anyway I decided to help by creating some screen shots. The installation is straightforward, you just pop the SQL server 2008 installati…
It is helpful to note: This is a cosmetic update and is not required, but should help your reports look better for your boss.  This issue has manifested itself in SSRS version 3.0 is where I have seen this behavior in.  And this behavior is only see…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

786 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