This is a migrated thread and some comments may be shown as answers.

Footer appears on each page when printing

5 Answers 153 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Kris
Top achievements
Rank 1
Kris asked on 27 Jan 2012, 08:45 AM
Greetings!  I am using a RadGrid control that contains a footer which therein i am summing a column.  I want to be able to print the page from the browser, however the footer appears on each page that is displaying the sum value of the column.  I tried setting paging to false but to no avail.  I need to show the footer only on the last page, any help greatly appreciated!
-kris

5 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 01 Feb 2012, 09:44 AM
Hi Kris,

I'm not sure that I can provide straight to the point answer because RadGrid does not support printing out of the box. What is the approach you use for this purpose? Maybe this one?
Print RadGrid contents code-library

Regards,
Daniel
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
Kris
Top achievements
Rank 1
answered on 01 Feb 2012, 06:40 PM
Thanks for responding! Actually we're just printing directly from browser, no extra code...>>> File >>> Print.  I noticed a similar issue with http://www.telerik.com/community/forums/aspnet/grid/exporttopdf-footer-show-on-last-page-radgrid.aspx

What is the best approach to remedy this?

Thanks
-kris
0
Mira
Telerik team
answered on 07 Feb 2012, 05:21 PM
Hello,

I am afraid I am unable to fully understand your scenario.
If you print directly from the browser menu, only the current page will be printed.
If you export to PDF and then print, there is no way out of the box for the desired functionality to be implemented.

However, you can examine the attached project to see a possible way for printing the whole content of the grid and the header/footer shown only once.

I hope it helps.

All the best,
Mira
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
sagar
Top achievements
Rank 1
answered on 24 Jul 2015, 07:31 AM

Hi,

    I have same issue. if we want to print htmp page , which contains gardgrid data and footer.

On each page showing footer,

How to show footer on last page only.

0
Kostadin
Telerik team
answered on 28 Jul 2015, 10:38 AM
Hello Sagar,

I am afraid this is an implementation of the browsers and there isn't a way to stop displaying the footer on each page. Actually you will experience the same behavior if you are using a HTML table element with <tfoot> specified.

Regards,
Kostadin
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Grid
Asked by
Kris
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Kris
Top achievements
Rank 1
Mira
Telerik team
sagar
Top achievements
Rank 1
Kostadin
Telerik team
Share this question
or