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. Web Development
  3. ASP.NET
  4. problem regarding print

problem regarding print

Scheduled Pinned Locked Moved ASP.NET
helpquestion
3 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.
  • A Offline
    A Offline
    Aavesh Agarwal
    wrote on last edited by
    #1

    hi , My problem is that i want to take a print out of my Data which is bind with Gridview.For that i have used window.print.but the problem is that in my gridview there are 100s of records for that i have used paging.when i m giving my print command it print only one page even it has 100s of records .and i want to print all the records which bind to the gridview.i dont want to use another page for displaying all the records and give the print command.i want to acheive my target with only single page. tell me how can i achieve my target.. thanks in advance avesh

    N M 2 Replies Last reply
    0
    • A Aavesh Agarwal

      hi , My problem is that i want to take a print out of my Data which is bind with Gridview.For that i have used window.print.but the problem is that in my gridview there are 100s of records for that i have used paging.when i m giving my print command it print only one page even it has 100s of records .and i want to print all the records which bind to the gridview.i dont want to use another page for displaying all the records and give the print command.i want to acheive my target with only single page. tell me how can i achieve my target.. thanks in advance avesh

      N Offline
      N Offline
      N a v a n e e t h
      wrote on last edited by
      #2

      Aavesh Agarwal wrote:

      i dont want to use another page for displaying all the records and give the print command.i want to acheive my target with only single page.

      Might not be possible. Print option depends on the browser, and not ASP.NET. It prints whatever content in the page. If you want to print entire row, you have to show it.

      All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions

      1 Reply Last reply
      0
      • A Aavesh Agarwal

        hi , My problem is that i want to take a print out of my Data which is bind with Gridview.For that i have used window.print.but the problem is that in my gridview there are 100s of records for that i have used paging.when i m giving my print command it print only one page even it has 100s of records .and i want to print all the records which bind to the gridview.i dont want to use another page for displaying all the records and give the print command.i want to acheive my target with only single page. tell me how can i achieve my target.. thanks in advance avesh

        M Offline
        M Offline
        M LN Rao
        wrote on last edited by
        #3

        Then open a new window, there bind gridview without paging and simply print that page. It is the most common way to accomplish the task.

        Intelligence is measured by common sense not by how many scholarly books you read.

        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