background

UI for Blazor

Blazor FileSelect

  • The FileSelect component allows users to select local files and store them on a server.
  • Part of the Telerik UI for Blazor library along with 110+ professionally-designed UI components.
  • Includes support, documentation, demos, virtual classrooms, Visual Studio Code Extensions and more!
  • Select and Store Local Files on a Server with Blazor FileSelect

    The UI for Blazor FileSelect component allows you to select local files and store them on a server. It exposes multiple configuration options that allow you to have full control over the management of selected files and the way they are uploaded, including disabled state, minimum and maximum file size, file types and extensions. It has built-in keyboard navigation support and accessibility, just like the rest of the Blazor UI components in the Telerik portfolio.

    See the Telerik UI for Blazor FileSelect features in action.
    Telerik UI for Blazor FileSelect Component
  • Dragging and Dropping

    Empower users to effortlessly drag one or multiple files or images and drop them in the designated area of the component. You can either leverage the built-in drag and drop feature of the FileSelect or define an external drop zone thanks to the integration with the Telerik UI for Blazor DropZone component.

    See the Telerik UI for Blazor FileSelect Drag and Drop demo

    Telerik UI for Blazor FileSelect-Drag and Drop
  • FileSelect Configuration Options

    The FileSelect can be configured to allow selecting single or multiple files at once via the Multiple parameter. For cases when you need to restrict users from selecting files, the FileSelect can be disabled through a single configuration option.


    Telerik UI for Blazor FileSelect Disabled State
  • FileSelect Validation

    Validation in the component is performed only client-side and is controlled by several parameters: AllowedExtensionsMinFileSize and MaxFileSize.

    See Blazor FileSelect validation examples.
    Telerik UI for Blazor FileSelect Validation
  • Initial Files

    Elevate user experience by displaying specific and previously uploaded files in the file select list. The Initial Files feature of the FileSelect allows you to save a list of files that the user has selected. Once saved you can then display them again when the page is reloaded.

    See the Telerik UI for Blazor FileSelect Initial Files demo

     

    Telerik UI for Blazor FileSelect - Configuring Initial Files
  • FileSelect Methods

    The Telerik UI for Blazor FileSelect component exposes two methods you can leverage for programmatic operations:

    • ClearFiles method – clears all files from the list
    • OpenSelectFilesDialog method – shows the browser’s file selection dialog

    Learn more about Telerik UI for Blazor FileSelect Methods in the documentation

  • FileSelect Events

    The FileSelect component gives you programmatic control over the selected and removed files by exposing the following events:

    • OnSelect – Fires when files or images have been selected via the Select button or dragged and dropped.
    • OnRemove – Fires when a file has been removed from the list of selected files (by clicking the x icon or pressing the Delete key).

    See the FileSelect events demo

    Telerik UI for ASP.NET Core Events
  • FileSelect Component Localization

    The FileSelect UI component has built-in localization support, which makes it easy to translate texts to any language that your Blazor app may require.

    globalization-localization
  • Keyboard Navigation & Accessibility

    Like all other Telerik UI for Blazor components, the FileSelect component supports out-of-the-box keyboard navigation and has been built with accessibility in mind. Using the Tab (for focus), Enter (open a selected file), Up/Down arrows (highlighting a selected file) and Delete (removes a highlighted file), you can work with the FileSelect without a touch of a mouse.

    Telerik UI for Blazor Keyboard Navigation and Accessibility
  • Theming

    The Telerik UI for Blazor FileSelect has several built-in themes such as Default (our own styling), Material (based on the Material Design guidelines), Bootstrap (which looks like the Bootstrap styling to integrate better) and Fluent (based on Microsoft Fluent UI). You can easily customize any of the out-of-the-box themes with a few lines of CSS, or create a new theme to match your colors and branding by using the Telerik Sass ThemeBuilder application.

    Telerik UI for Blazor FileSelect Theming
  • Right-to-Left (RTL) Support

    The Telerik UI for Blazor FileSelect component supports right-to-left configuration. The RTL functionality is supported by most of our components to accommodate users who communicate in a right-to-left language script, such as Arabic and Hebrew.

    Learn more in our Blazor Right-to-Left Support documentation 

    RTL Support

All Blazor Components

Next Steps