Solved

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

Posted on 2011-03-09
3
389 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 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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
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…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

733 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