Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Can RS Reports content be controlled through the ReportViewer control in C#

Posted on 2011-03-09
3
Medium Priority
?
394 Views
Last Modified: 2012-06-27
I have a report dataset that dynamically returns columns based on which columns a user chooses to include in the GUI.  I have built a report in which I include all columns and then hide those that weren't chosen, but this leads to large, empty report areas when printing (there are about 150 columns to choose from).  Also, the user wants to be able to choose the order in which columns display, which is currently hard coded in the report.

Is there a way to create a report shell with perhaps an empty tablix (either rdl or rdlc) and dynamically add the columns (or have the report do it) in C# through the ReportViewer control?

Thanks.
0
Comment
Question by:thayduck
[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
3 Comments
 
LVL 22

Accepted Solution

by:
plusone3055 earned 1500 total points
ID: 35086784
0
 

Author Comment

by:thayduck
ID: 35094203
Thanks for the link.  That will do the trick.
0
 

Author Closing Comment

by:thayduck
ID: 35094216
Only a link was provided so no effort was required to explain a solution.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Introduction Earlier I wrote an article about the new lookup functions (http://www.experts-exchange.com/A_3433.html) that ship with SQL Server 2008 R2.  In this article I’m going to show you another new feature of SSRS 2008 R2, this time in the vis…
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…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
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.

715 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