Show PrinterDialog in Report Preview
Posted: Thu Apr 14, 2011 4:47 am
Hi
How can I show a Printerdialog when the user click the print button in the Viewer control?
I use this code to show the reports:
StiReport report = new StiReport();
report.Load(reportFile);
report.Compile();
StiOptions.Dictionary.BusinessObjects.MaxLevel = 3;
report.RegData(dataSourceName, dataSource);
report.Render();
report.ShowWithRibbonGUI();
Ralf
How can I show a Printerdialog when the user click the print button in the Viewer control?
I use this code to show the reports:
StiReport report = new StiReport();
report.Load(reportFile);
report.Compile();
StiOptions.Dictionary.BusinessObjects.MaxLevel = 3;
report.RegData(dataSourceName, dataSource);
report.Render();
report.ShowWithRibbonGUI();
Ralf