New to Telerik UI for ASP.NET Core? Download free 30-day trial

ASP.NET Core Upload Form Integration

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
  • Edit in Telerik REPL
HtmlHelper
TagHelper
Files:
form_integration.cshtml
Form_IntegrationController.cs
Form_Integration_TagHelper.cshtml

Also available for:

CLIENT-SIDE API HTML HELPER API

Description

The Telerik UI Upload for ASP.NET Core component can be seamlessly integrated within the Telerik UI for ASP.NET Core Form as an editor type. When used in the Form, the Upload editor operates in synchronous mode, allowing files to be submitted along with the rest of the form data in a single request. The standard Upload features including validation rules, templates, and customization options are supported when the Upload is integrated into a Form, though asynchronous-specific configurations are unavailable since the Form manages the submission as a single request.

This demo showcases a Form component with an integrated Upload editor that restricts file uploads to specific formats. When the Form is submitted, the uploaded files are intercepted on the server and processed from the IFormFile collection.

Additional Apps

This Upload example is part of unique collection of hundreds of ASP.NET Core demos, with which you can see all Telerik ASP.NET Core components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in Telerik REPL for ASP.NET Core or ThemeBuilder.

Support & Learning Resources

Additional Resources