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. Printable DataGrid

Printable DataGrid

Scheduled Pinned Locked Moved C#
csharpcssquestion
2 Posts 2 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.
  • D Offline
    D Offline
    danishkhawar
    wrote on last edited by
    #1

    can we make printable grid of simple dot net grid, and can we print our form objects with grid? I am trying to create my own report builder for C# forms application

    G 1 Reply Last reply
    0
    • D danishkhawar

      can we make printable grid of simple dot net grid, and can we print our form objects with grid? I am trying to create my own report builder for C# forms application

      G Offline
      G Offline
      Gary Stafford
      wrote on last edited by
      #2

      We have a sales program that allows the user to view the sales report on screen, contained in a paged GridView. The user has the option to print the report. When they select 'Print', the code: 1. Modifies the GridView to display all rows (vs. paging) by changing the PageSize property. 2. Hides all extraneous page elements by modifying their Visible properties. 3. Changes the page's Theme from a screen oriented theme to a theme optimized for printing by modifying (Page.Theme and Page.StylesheetTheme) properties. 4. Calls the browser's print command via JavaScript. Hopes this helps answer your question.

      Regards, Gary

      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