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.