You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>This example demonstrates how to validate the files before uploading it to server. Only document files <code>(DOC, DOCX, XLS, XLSX),</code> and the files should contain <code>minimum 10 KB</code> and <code>maximum 28 MB</code> sizes to upload it into server. This sample limits maximum files count as 5 to upload.</p>
<p>It will validate the file size an throw the error message in file list</p>
</div>
<div id="description">
<p>The <code>Uploader</code> control allows to validate the file’s type, and limit the file size using <code>allowedExtensions</code>, <code>minFileSize</code>, and <code>maxFileSize</code> properties. You can also achieve limit the files count before uploading it using select event.</p>
<p>For more information, you can refer to the Validation section from this <a target="_blank" href="https://ej2.syncfusion.com/javascript/documentation/uploader/validation/"> documentation section </a>.</p>