• Material 3
  • Bootstrap 5
  • Fluent 2
  • Tailwind CSS
  • Fluent 2 High Contrast
Preferences
Mode Selection
Touch
Mouse
Theme Selection
Theme Mode
Localization
*Translated by Google Translator.
Currency

Example of Form Support in ASP.NET Core File Upload Control

This ASP.NET Core File Upload example demonstrates the Uploader control supported with HTML form upload.

Fill the mandatory details in a form and click the submit button.

DEMO
SOURCE

Photo Contest

*This button is not a submit type and the form submit handled from externally.

The Uploader control works in synchronous mode using HTML form. When the end-user submits the form, the selected files are submitted to server with the **name** attribute of input element. More information on the form support can be found on this documentation section.

In this example, the backend service used in the saveUrl and removeUrl endpoints for saving and removing files is intended for demonstration purposes only. The uploaded files are subjected to thorough validation, including verification of file names and the application of security checks. Therefore, this service is not recommended for production use, and the configuration of a custom backend save and remove service is advised. Additional implementation details can be found in the saveUrl and removeUrl documentation.

Transform your ASP.NET Core web apps today with Syncfusion® ASP.NET Core components
145+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE
opens in a new tab