Maximum file size which is allowed for upload to the server.
<script type="text/javascript" src="iuembed.js"> </script> <script type="text/javascript"> var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500); //...other params... iu.addParam("MaxFileSize", "0"); //...other params... iu.writeHtml(); </script>
getImageUploader("ImageUploaderID").setMaxFileSize(value); value = getImageUploader("ImageUploaderID").getMaxFileSize();
A non-negative integer value that specifies maximum size (in bytes) for files allowed for upload. If the value is 0
then there is no limit.
Default value is "0" (no limit).
This property limits only a single file. If you want to set limit for all selected files, use the MaxTotalFileSize property.