How can I effectively handle MaxUploadSizeExceededException
in an ajax
based file uploading operation.
I have an ajax based file upload functionality. I need to handle the MaxUploadSizeExceededException
when user upload a file whose size exceeds the maximum allowed. I got the solution from here, where user will be directed to a error page, when file size exceeds. Since I am using ajax request to upload file, I want to show a javascript
alert in the browser when file size exceeds, instead of redirecting to some error page.
How can I do this ?