2X faster development
The ultimate ASP.NET Web Forms UI toolkit to boost your development speed.
Description When you upload a file using an UploadBox, you can limit the upload file size, since uploading large files can be restricted by setting the file size limit. Solution Uploading a file can be restricted based on its size, by setting the maximum file size limit in the webconfig file. Create a website with UploadBox control and set the maxRequestLength key value for httpRuntime tag under system.web as follows. WEBCONFIG The value of maxRequestLength has to be given in Kilo Bytes (KB). When the application is run directly from the developer environment, it is enough to have the maxRequestLength added in httpRuntime section of system.web. But while deploying it to the server, you must set the maxAllowedContentLength value under system.webserver tag in webconfig, so that file limit is applied on hosting the website in server. WEBCONFIG The value of maxAllowedContentLength should be given in Bytes. |
2X faster development
The ultimate ASP.NET Web Forms UI toolkit to boost your development speed.
This page will automatically be redirected to the sign-in page in 10 seconds.