locked
Header and Footer in Web page print RRS feed

  • Question

  •  

    Hi All,

     

    while taking web page print out, I want to print customized header and footer in all 

    pages.

    Can anybody help me to do this?

     

    Thanks in advance

    Tuesday, July 24, 2007 2:23 PM

Answers

  • I can't say that will help you program it, but create a wrapper with your header and footer requirements and insert the html body contents within it. What have you tried so far?
    Tuesday, July 24, 2007 4:03 PM

All replies

  • I can't say that will help you program it, but create a wrapper with your header and footer requirements and insert the html body contents within it. What have you tried so far?
    Tuesday, July 24, 2007 4:03 PM
  • Check out this page http://www.eggheadcafe.com/articles/20030627a.asp. That will help you configure which part of page should be printed. You should prepare that part with header and footer for printing. You can do that by creating two controls, one for header and one for footer and add them to every page that will be printed. Put the content for printing in div and name it. Use that java scripts to call print dialog and print only that part of page.
    Tuesday, July 24, 2007 6:20 PM