I'm pretty sure this isn't possible but I thought I'd ask...
I have a FileResult
which returns a file, when it works there's no problem. When there's an error in the FileResult
for some reason, I'd like to display an exception error message on the users screen, preferably in a popup.
Can I do an Ajax post which returns a file when successful and displays a message if not?