User-1188570427 posted
I am seeing an issue where the Save Dialog box is being displayed again to the user after the export to excel is complete and we ask the user if they want to view the file or not.
If they select YES OR NO, the Save Dialog window pops up again. If you hit save, the code is not even ran again.
Has anyone seen anything similar to this?
if (WinUIMessageBox.Show("Would you like to view the exported file?", "Open File", MessageBoxButton.YesNo) == MessageBoxResult.Yes)
{
// open the exported document
ProcessStartInfo startInfo = new ProcessStartInfo(SaveFileDialogService.GetFullFileName());
Process.Start(startInfo);
}