Query |
Response | |
.Can you speed up window display? (form10 - 18s and Form2 -5s) It is too long now. |
To show the form window immediately after the button click, use “Form.Shown” event instead of “Form.Loaded” event. We have modified your sample based on this. Also, please refer the below MSDN documentation for more details.
| |
how to print: directly to the printer - (do not open the reportViewerControl) button3_Click i'm trying to print the report directly to a default printer without using the print form2. , can anyone help, |
You can print the reports without viewing using our ReportWriter, it supports to export report into PDF document and that can be loaded to the PdfViewer for printing as shown in the below code snippet. We have included this code in “Button3” click event.
We have modified your sample based on this and please find the sample from the below location. |
Hi Gregory,
Thanks for your interest in Syncfusion Components.
Query Response .Can you speed up window display? (form10 - 18s and Form2 -5s)
It is too long now. To show the form window immediately after the button click, use “Form.Shown” event instead of “Form.Loaded” event. We have modified your sample based on this. Also, please refer the below MSDN documentation for more details. how to print: directly to the printer - (do not open the reportViewerControl)
button3_Click
i'm trying to print the report directly to a default printer without using the print form2.
, can anyone help, You can print the reports without viewing using our ReportWriter, it supports to export report into PDF document and that can be loaded to the PdfViewer for printing as shown in the below code snippet. We have included this code in “Button3” click event.
string reportPath = @"../../Report1.rdlc";reportWriter.ReportPath = reportPath;reportWriter.ReportProcessingMode = Syncfusion.ReportWriter.ProcessingMode.Local;reportWriter.DataSources.Clear();reportWriter.DataSources.Add(new Syncfusion.Windows.Reports.ReportDataSource { Name = "DataSet1", Value = this.productBindingSource3 });MemoryStream stream = new MemoryStream();reportWriter.Save(stream, WriterFormat.PDF);PdfDocumentView pdfViewer = new PdfDocumentView();pdfViewer.Load(stream);System.Windows.Controls.PrintDialog printDialog = new System.Windows.Controls.PrintDialog();if ((bool)printDialog.ShowDialog()){printDialog.PrintDocument(pdfViewer.PrintDocument.DocumentPaginator, "PDF PRINTER");}We have modified your sample based on this and please find the sample from the below location.
Modified sample: http://www.syncfusion.com/downloads/support/forum/132841/ze/test_ReportDesigner002-1803785689
Regards,Vinoth S.
Hi Vinoth
Thank you for your answer.
1. Form.Shown -it's faster. But can you still accelerate the second stage of file opening Modified.rdlc