November 7, 2010 at 5:46 pm
Hi,
I have a RDLC report and it has two tables, and each table is bound to a seperate datasource. I can get the report to work, but second table details always display on a new page in PDF instead of the same page as the first table data. I tried changing the page size and everything but doesn't seem to work.
Any thoughts??
November 8, 2010 at 6:46 am
Does the second table have a page break, or keep together in its properties that may force a new page?
November 8, 2010 at 7:59 pm
I realized it's not the page format that is causing the problem, it is just the way I am getting the data displayed in my reportviewer. I would appreciate some help on this.
I have a List object collection say List1, and inside that I declare one more list collection say List2. I can have one or more List1 collection and each List1 can have one or more List2.
So it would be something like
List1
-- List2
--List2
List1
-- List2
Now my code returns List1 to my reportviewer and that is dislayed in the Table Header, but how can I display List2 collections with the reportviewer(this would have to go in the details section). Any ideas??
November 9, 2010 at 2:41 am
To put a seperate list the detail section you will need to look at building sub-report that contains the information for list Two and then include this sub-report in the details of list One.
November 9, 2010 at 6:17 am
great!!, I did it the same way before, but when I return List2 collection in Sub report, say from my previous example, I would return List2[3] (3 objects of List2), It would display all of them on one page, I tried adding a group by , but didn't work.
Anything you see that I am missing.
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply