New to developing windows applications. Using VS 2005.
I have a simple webform that I want to give the user the ability to print. I added a the printdocument from the designer and a menustrip for the printing option.
I added the following code in the "PrintToolStripMenuItem_Click" event but it only prints a blank page, not the content displaying in the form.
PrintDocument1.Print()
What's the best way to print the form contents?
Any suggestions, articles, etc are greatly appreciated.
Thanks in advance.
I have a simple webform that I want to give the user the ability to print. I added a the printdocument from the designer and a menustrip for the printing option.
I added the following code in the "PrintToolStripMenuItem_Click" event but it only prints a blank page, not the content displaying in the form.
PrintDocument1.Print()
What's the best way to print the form contents?
Any suggestions, articles, etc are greatly appreciated.
Thanks in advance.