Question

Can we use the same rdlc file to get different pdf representation and excel representation

  • 18 January 2024
  • 1 reply
  • 31 views

Badge +1

For example, I need the column to be grouped by its name, resulting in the merging of cells in that particular column in the PDF, while the Excel output should remain unaffected. This should be achieved using the same RDLC file for report generation in Visual Studio.

Is there a specific setting to accomplish this?

 

 

 


1 reply

Userlevel 3
Badge +8

I don’t know if there is a way to do that automatically.

In the past I have added a report parameter and some scripting to the rdlc file to show different layouts based on the parameter value.  That way when you run the report you can select the layout you like.

Reply