This is a migrated thread and some comments may be shown as answers.

Error when cancelling export to excel

3 Answers 114 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Janne
Top achievements
Rank 1
Janne asked on 12 Feb 2009, 03:54 PM
Hi,

I am currently evaluating the latest trial package of Telerik reporting. I  get the following error, when cancelling a export to excel (translated from SE to EN):

InvalidOperationException - Its not possible to call Invoke or BeginInvoke in a control before the window reference is created.

Is this a known issue and will it be ammended in future releases?

Also I would like to know why Telerik is considerably slower, compared to Crystal Report, when rendering the exact same report?

Br,
Jonas

3 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 13 Feb 2009, 10:06 AM
Hello Janne,

We have the following questions:

  • can you explain which viewer do you use to show the report (web or winforms)
  • how do you cancel the export to excel?
  • how do you set the report to the viewer
  • do you export programmatically or through the viewer's toolbar?

Any additional information would be highly appreciated.
Greetings,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Janne
Top achievements
Rank 1
answered on 16 Feb 2009, 10:38 AM
Hi,

- It is a windows application
- I initiate the export by clicking the "disk" icon in the viewer-toolbar
- I cancel the export by clicking the cancel button in the export-dialog
- I have programmatically set the report to the viewer with the ".Report" - property of the 

"Telerik.ReportViewer.WinForms.

ReportViewer"

Here is a short example that fails when canceling the export to Excel - the report itself does not contain anything at all:
"

 

Telerik.Reporting.

Report Report1 = new Telerik.Reporting.Report();

 

reportViewer1.Report = Report1;

reportViewer1.RefreshReport();

 

"


Also - do you have any reflections thoughts on why rendering is so slow (relatively speaking) ???

Br,
Jonas
0
Steve
Telerik team
answered on 17 Feb 2009, 01:34 PM
Hello Janne,

Thank you for the additional information you've provided. We were able to reproduce the error and logged it in our bug tracking system for investigation.

Your Telerik points have been updated for bringing this to our attention. Do let us know if you have other questions/problems.

Regards,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
General Discussions
Asked by
Janne
Top achievements
Rank 1
Answers by
Steve
Telerik team
Janne
Top achievements
Rank 1
Share this question
or