Hi,
I am trying to set the upload limit of a website by using the following the setting in web.config file.
<httpRuntime maxRequestLength="5120" />
Now when I am uploading a file of size greater than 5MB from a page(url example -
http://testServer/TestProject/testPage.aspx), i get the 'Page cannot be displayed' error with the URL as
http://testServer/TestProject/testPage.aspx?RadUrid=3fab3f89-6828-4dec-9fb8-84ad4cccea8e.
Now if I step through the code in debugger, I can catch the error when debug point is set at the start of the function
Application_Error in Global.asax. But as soon as I press F11 it takes me to testPage on the browser with RadUrid appended to the URL. I want to know if I can anyway check in RadUpload if the size of selected file is greater than the maxRequestLength and then take some corrective action. If nothing then just if its possible to handle this error gracefully where I can show an error page.