How to repeat table header on every page in RDLC report ?

When you build a .RDLC report in Visual Studio 2010 just like following show, you will find the table header can not repeat on every page when you change pages.

repeatHeader00_0

Then you might select the table and go to its properties to set something, see below, there are two properties RepeatColumnHeaders and RepeatRowHeaders, you can set them to True.

But wait, Can they work ? NO! actually they doesn’t work, your table header still can not repeat on every page. Is it a bug ? This question should ask Microsoft. There was somebody report the similar issue, but today these 2 properties seems still no work. 

repeatHeader01

This is around way:  Put the table header to Page header section. Yes, this works. However, you have to adjust the space between table header and table data rows.

Is there other better solution?

Yes, we have. Please go back to your Visual Studio RDLC design screen, please look at the right bottom corner in design part. There is a small black rectangle there. Click it and check what you can see:

repeatHeader00

Yes, you can see “Advanced Mode”, please check on it.

repeatHeader02

After you check on Advanced Mode, you will see Row Groups and Column Groups like below:

repeatHeader03

Click “Static” in Row Groups list, and check the properties on the right side:

Set “RepeatOnNewPage” to “True”.

repeatHeader04

Save your works and build. and preview or view your report, you will see the table repeat on every page now.

One thought on “How to repeat table header on every page in RDLC report ?

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>