Solved

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

Posted on 2011-03-09
3
388 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
  • 2
3 Comments
 
LVL 22

Accepted Solution

by:
plusone3055 earned 500 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

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

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
Delivering innovative fully-managed cloud services for mission-critical applications requires expertise in multiple areas plus vision and commitment. Meet a few of the people behind the quality services of Concerto.

919 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

12 Experts available now in Live!

Get 1:1 Help Now