Click or drag to resize

IFileWidgetMaxFileKB Property

Gets/sets the maximum file size that a user should be allowed to upload. The size is specified in KB (1024 bytes) units, so, for example, 10 means 10240 bytes. Generally you should also set MaxFileErrorMessage if you set MaxFileKB. See http://www.w3schools.com/jsref/prop_fileupload_files.asp for more information on how this is applied during client-side validation. Note that client-side validation for this setting can be performed on more recent browsers as they expose the file size for user-selected upload files. It appears that the most recent widely-used browser the DOES NOT support this is Internet Explorer 9.

Namespace:  NetQuarry.WebControls
Assembly:  EAP.WebControls (in EAP.WebControls.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
int MaxFileKB { get; set; }

Property Value

Type: Int32
See Also