Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. hide header and footer while printing a webpage in C# [modified]

hide header and footer while printing a webpage in C# [modified]

Scheduled Pinned Locked Moved C#
csharp
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vasavi p
    wrote on last edited by
    #1

    I want to hide Header(ie. Displaying the URL of the Page) and Footer(ie. getting page number and the current date and time) while printing a webpage using c#. Thanks in Advance

    modified on Tuesday, October 6, 2009 6:26 AM

    R 1 Reply Last reply
    0
    • V vasavi p

      I want to hide Header(ie. Displaying the URL of the Page) and Footer(ie. getting page number and the current date and time) while printing a webpage using c#. Thanks in Advance

      modified on Tuesday, October 6, 2009 6:26 AM

      R Offline
      R Offline
      Rajesh Anuhya
      wrote on last edited by
      #2

      where is your web page??? in your windows application browser??? or web application browser??? or any other web browsers??

      Rajesh B --> A Poor Workman Blames His Tools <--

      V 1 Reply Last reply
      0
      • R Rajesh Anuhya

        where is your web page??? in your windows application browser??? or web application browser??? or any other web browsers??

        Rajesh B --> A Poor Workman Blames His Tools <--

        V Offline
        V Offline
        vasavi p
        wrote on last edited by
        #3

        its a web application

        L 1 Reply Last reply
        0
        • V vasavi p

          its a web application

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          The footer is added by IE (the browser), and you cannot change that with any code on the server. You can, however, change the settings in the client-application. Look under the menu "File", "Page Setup" :)

          I are Troll :)

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups