Search results

Accessibility

The uploader component characterized with complete ARIA accessibility support that helps to be accessible by on-screen readers and other assistive technology devices.

Keyboard interaction

The following are the standard keys that works on uploader component:

 Keyboard shortcuts   Actions 
 Tab  Moves focus to next element.
 Shift + Tab  Moves focus to previous element.
 Enter  Triggers corresponding action to the button element.
 Esc  Closes the file browser dialog alone and cancels the upload on drop the file.
razor
keyboard.cs
@section ControlsSection{

    @Html.EJS().Uploader("UploadFiles").AutoUpload(false).AsyncSettings(new Syncfusion.EJ2.Inputs.UploaderAsyncSettings { SaveUrl = "https://aspnetmvc.syncfusion.com/services/api/uploadbox/Save", RemoveUrl = "https://aspnetmvc.syncfusion.com/services/api/uploadbox/Remove" }).Render() 

}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;

namespace EJ2CoreSampleBrowser.Controllers.TextBoxes
{
    public partial class UploaderController : Controller
    {
        public IActionResult DefaultFunctionalities()
        {
            return View();
        }
    }
}