Lynn Emery

Lynn Emery

  • NA
  • 47
  • 56.5k

Print a Grid View

Feb 21 2013 4:26 PM
Hi everyone, I am new to C# and I require help printing the contents of a grid view on an aspx webpage.

At present I have a print button placed on the page where the Grid View is positioned. This print button has been programmed via html. The current button prints the whole web page contents including the menu bar and the print button itself, rather than  the grid view only.

Is it possible to only print a grid view on an aspx page? If so I would be extremely grateful if someone could guide me through the steps to achieve this in a simple yet effective way.
I'm unsure whether the print command should be coded into the html page or the C# behind code.

I welcome any feedback, Many thanks. 



Answers (7)