locked
Merging more than one rdlc into single reportviewer control RRS feed

  • Question

  • User-1573847580 posted

    Hi,

    I am using asp.net c# 2.0.

    I want to merged 2 rdlc Customer and Invoice into single rdlc so that it prints in a single file.

    Merging of pdf's and image does not work properly in published website.

    So this is the last way i am trying off. Please help on merging rdlc's if anyone can.

    Thanks in advance.

    Regards,

    Leena Dhillon.

    Monday, November 14, 2011 1:42 AM

All replies

  • User-8475372 posted

    Leena,

    What is the width of the report in the merged rdlc file ? (Am asumming that there are two tables in this report, one for customer and one for invoice).

    Let me know if am not on the same page. 

    Monday, November 14, 2011 1:49 AM
  • User-1573847580 posted

    Hi,

    There are 2 rdlc

    1. Customer which is working and printing fine

    2. Invoice which is also wokring and printing fine

    The above two are called from disaptch page. And both are working fine.

    The client wants to print both into a single rdlc so that it can staple automatically by the printer.

    I just need to add a reportviewer, which is coded to merge 1 & 2 into it and sent to printer.

    Hope this explaination help, else let me know.

    Monday, November 14, 2011 1:54 AM
  • User-8475372 posted

    For binding reports using report viewer here is the detailed code.

    http://srikanthkasturi.webs.com/apps/blog/show/8662369-ssrs-reports-with-net

    Monday, November 14, 2011 1:59 AM
  • User-1573847580 posted

    both reports are already binded. I just need to merged into single rdlc...How to do that part?????????

    Monday, November 14, 2011 2:02 AM
  • User-8475372 posted

    Here is how i will do that : 

    - Create a single rdlc file with two tables, one with the content in the first rdlc file and second one with the content in the second rdlc file.

    - Adjust the width of those tables so that first table will occupy page1 (while exported in pdf) and second table occupies page2.

    - Run this report in dispatch.aspx using reportviewer.

    Monday, November 14, 2011 2:05 AM
  • User-1573847580 posted

    This is again a problem.

    1st rdlc is in different format and 2nd is in different format. I dnt want to change rdlc's format.

    Monday, November 14, 2011 2:10 AM
  • User-8475372 posted

    Can you please let me know the formats respectively and any technical reason of using that particular format ? 

    Monday, November 14, 2011 2:13 AM
  • User-1560463466 posted

    I use case is that i want to repeat same report 2 times .

    first with data of boys on first page and second time with data of girls on next page.

    This is just an example in reality i have to repeat atleast 7-8 times according to business rules.

    and then finally i want to print my final report(multi page) on paper/pdf.

    Monday, May 5, 2014 9:02 AM
  • User-1978964307 posted

    Please tell me how do you that

    Tuesday, November 17, 2020 7:33 AM