问题
Just started on a touchscreen based project that uses the reportviewer control. I will obviously be putting my own big buttons for report navigation , export to pdf etc since even people with tiny fingers will have a hard time clicking the out of box toolbar that comes with this control (see below screenshot). Can I do all of this from code
1) Show next / prev/first /last page of report
2) Show print dialog/page setup dialog/print layout
3) Export to pdf
Thats all we need for now. I am going thru the msdn samples meanwhile. Not yet found any code to do all that the toolbar shown does. thank you

回答1:
Yes, you can. Assuming your application is Windows app, refer to ShowXXXXX properties of ReportViewer.
http://msdn.microsoft.com/en-us/library/microsoft.reporting.winforms.reportviewer_properties%28v=VS.80%29.aspx
Exporting: http://social.msdn.microsoft.com/Forums/en/vsreportcontrols/thread/7a2ffdd4-8e25-43f1-863d-505941968b77
Printing: http://social.msdn.microsoft.com/forums/en-US/vsreportcontrols/thread/9f52d79d-5baf-4e84-97d5-7dbba6623b89
Update: As MS has deleted documentation of reportviewer (the first link above), following might be an alternative.
https://docs.microsoft.com/en-us/sql/reporting-services/application-integration/using-the-winforms-reportviewer-control?view=sql-server-2017
来源:https://stackoverflow.com/questions/6904994/can-the-net-reportviewer-control-be-fully-operated-by-code-only-ie-minus-the