Very Slow Load C1Report

Posted by: luis_carlosh on 8 May 2021, 7:39 am EST

    • Post Options:
    • Link

    Posted 8 May 2021, 7:39 am EST

    When sending to print the C1report takes a lot to open the dialog for printing or is to show the preview…


    ’ Load report definition

    Me.C1Report1.Load(“C:\ticket\ticket2.xml”, “TBLTICKET Report”)

        Dim doc As PrintDocument = Me.C1Report1.Document
        doc.PrinterSettings.PrinterName = My.Settings.TicketPrinter
    
        ' Show a PrintDialog so user can customize the printing
        Dim pd As PrintDialog = New PrintDialog()
        pd.Document = doc
    
        ' Use PrinterSettings in report document
        pd.PrinterSettings = doc.PrinterSettings
    
        ' Show the dialog and print the report
        If pd.ShowDialog() = DialogResult.OK Then
            doc.Print()
        End If
    
        ' Cleanup and release PrintDialog resources
        pd.Dispose()
    

    How can I do it faster?

  • Posted 9 May 2021, 7:21 pm EST

    Hi Luis,

    We do not face any performance issues at our end, in print the report.

    Can you please share your report file with dummy data so that we can test the same at our end?

    Also, let us know your environment details and the version of the control that you are using.

    Regards,

    Prabhat Sharma.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels