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

Silverlight Report Viewer - Exception Handling

1 Answer 68 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Dave
Top achievements
Rank 1
Dave asked on 17 Dec 2011, 12:02 AM
Having a small issue with the report viewer. Currently if a user tries to export the report to a file and attempts to overwrite an existing file that is used by another process (such as, it's currently open), the Report Viewer causes an unhandled exception and crashes the app.

Is there an accepted way to handle this scenario? Looking at the code, it seems like there should be a try/catch block around the block of code in the SaveExportCommand that writes to the file system.

1 Answer, 1 is accepted

Sort by
0
Elian
Telerik team
answered on 19 Dec 2011, 05:18 PM
Hi Dave,

No one has reported such problem until now, we also couldn't reproduce it on our side. If saving is unsuccessful the save dialog simply does not disappear and awaits unique name (but no exceptions). We have the following questions:

  • What version of Telerik Reporting are you using?
  • Does the same issue appear on our online demos or is it only in your project? 
  • Does it happen on any machine or just on a specific one?

Kind regards,
Elian
the Telerik team

Q3’11 of Telerik Reporting is available for download. Register for the What's New in Data Tools webinar to see what's new and get a chance to WIN A FREE LICENSE!

Tags
General Discussions
Asked by
Dave
Top achievements
Rank 1
Answers by
Elian
Telerik team
Share this question
or