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. printing problems..

printing problems..

Scheduled Pinned Locked Moved ASP.NET
csharpjavascriptvisual-studiohelpquestion
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.
  • C Offline
    C Offline
    chubbie
    wrote on last edited by
    #1

    hi all.. here's the situation:- i am using ASP .NET 2.0, Microsoft Visual Studio 2005, Language = C#. when i execute and run a page, i have a datagrid being displayed and a button, named "Print". What i want to do is, when i click on the "Print" Button, i want to print the datagrid without using windows.form and without using javascript. does anyone here knows the code to it..? thanks very much for your help.. -DarkangeL-

    G M 2 Replies Last reply
    0
    • C chubbie

      hi all.. here's the situation:- i am using ASP .NET 2.0, Microsoft Visual Studio 2005, Language = C#. when i execute and run a page, i have a datagrid being displayed and a button, named "Print". What i want to do is, when i click on the "Print" Button, i want to print the datagrid without using windows.form and without using javascript. does anyone here knows the code to it..? thanks very much for your help.. -DarkangeL-

      G Offline
      G Offline
      Guffa
      wrote on last edited by
      #2

      Then you have to create an ActiveX component that will print what you want, and add that to the page when you want to print it. --- b { font-weight: normal; }

      C 1 Reply Last reply
      0
      • G Guffa

        Then you have to create an ActiveX component that will print what you want, and add that to the page when you want to print it. --- b { font-weight: normal; }

        C Offline
        C Offline
        chubbie
        wrote on last edited by
        #3

        hmm.. how to create activeX command..? -DarkangeL-

        1 Reply Last reply
        0
        • C chubbie

          hi all.. here's the situation:- i am using ASP .NET 2.0, Microsoft Visual Studio 2005, Language = C#. when i execute and run a page, i have a datagrid being displayed and a button, named "Print". What i want to do is, when i click on the "Print" Button, i want to print the datagrid without using windows.form and without using javascript. does anyone here knows the code to it..? thanks very much for your help.. -DarkangeL-

          M Offline
          M Offline
          Michael Mac
          wrote on last edited by
          #4

          Use JavaScript: window.print(); If you want to print only the grid than place it in iframe window.


          43 68 65 65 72 73 2c 4d 69 63 68 61 65 6c

          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