RS Visual Studio 2010 & Printing
Hi all. I wonder if you could help out. I am a little stuck. I want to simply print a report directly from visual studio without going through any dialogues. The user hits print and out it pops of the printer. I am using WPF but having to use winforms to create the report etc. It seems not straight forward Any ideas? Thanks in advance Scott
July 29th, 2011 12:41pm

Hi Scott, Report viewer is not available as a native control in WPF applications currently, and therefore it could not be placed in the application directly. So you has to use Winforms to lay the reportviewer control to display the report. For more information about the ReportViewer control, please refer to: http://msdn.microsoft.com/en-us/library/ms251671(v=VS.100).aspx About Hosting a Windows Forms Control in WPF, please refer to: http://msdn.microsoft.com/en-us/library/ms751761.aspx Thanks, Challen Fu Forum Support If you have feedback for TechNet Subscriber Support, please contact usPlease remember to mark the replies as answers if they help and unmark them if they provide no help.
Free Windows Admin Tool Kit Click here and download it now
August 1st, 2011 2:30am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics