Footer appears on each page when printing

6 posts, 0 answers
  1. Kris
    Kris avatar
    5 posts
    Member since:
    Jan 2012

    Posted 27 Jan 2012 Link to this post

    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
  2. Daniel
    Admin
    Daniel avatar
    4949 posts

    Posted 01 Feb 2012 Link to this post

    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
  3. Kris
    Kris avatar
    5 posts
    Member since:
    Jan 2012

    Posted 01 Feb 2012 Link to this post

    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
  4. Mira
    Admin
    Mira avatar
    1124 posts

    Posted 07 Feb 2012 Link to this post

    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 >>
  5. sagar
    sagar avatar
    1 posts
    Member since:
    Jul 2015

    Posted 24 Jul 2015 Link to this post

    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.

  6. Kostadin
    Admin
    Kostadin avatar
    1733 posts

    Posted 28 Jul 2015 Link to this post

    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
Back to Top