I have a form that thas rendered online on a MOSS 2007 farm. I need to have a button, that when clicked will cause the form to print or at least open up the browsers print dialog screen.
I found a bunch of topics on this in this forum, that talk of using XDocument.PrintOut() and so on, but when I compile it complains that XDocument does not exist in the current context.
Can someone please help me with sample C# code to achieve this?