File Upload / File Validation

Blazor File Upload - File Validation

Loading Syncfusion Blazor Server Demos…

Or drop files here

This example demonstrates how to validate files before uploading them to the server. Only document files (DOC, DOCX, XLS, XLSX) with a minimum size of "10 KB" and maximum size of "100 MB" are allowed to upload to the server.

The File Upload component allows you to validate the file's type and limit the file size using the following properties:

See also

Transform your Blazor web apps today with Syncfusion® Blazor components
145+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE