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.
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.