-
Notifications
You must be signed in to change notification settings - Fork 201
Viewer and Toolstrip
majorsilence edited this page Nov 23, 2014
·
4 revisions
There is a new control in the RdlViewer project that provides a control toolstrip for the viewer. It provides a open, save, print, zoom in and out, change page, and current page controls. To use it is as simple as the following.
var rdlViewer1 = new fyiReporting.RdlViewer.RdlViewer();
var reportStrip = new fyiReporting.RdlViewer.ViewerToolstrip(rdlViewer1);
// Add your controls to your form as normal.
Or you can assign the viewer to the toolstrip using the Viewer property.
var rdlViewer1 = new fyiReporting.RdlViewer.RdlViewer();
var reportStrip = new fyiReporting.RdlViewer.ViewerToolstrip();
reportStrip.Viewer = rdlViewer1;
// Add your controls to your form as normal.
Screenshot
For a working example see https://github.com/majorsilence/My-FyiReporting/tree/master/Examples/Sample-Report-Viewer.