Hide default drop area

21 Dec 20221 minute to read

You can achieve this behavior by overriding the corresponding uploader styles. Override the following styles to hide the default drop area behavior.

* .e-upload.e-control
* .e-upload .e-file-select
* .e-upload .e-file-drop
    var asyncSettings = new Syncfusion.EJ2.Inputs.UploaderAsyncSettings { SaveUrl = "https://ej2.syncfusion.com/services/api/uploadbox/Save", RemoveUrl = "https://ej2.syncfusion.com/services/api/uploadbox/Remove" };
<ejs-uploader id="UploadFiles" asyncSettings="@asyncSettings"> </ejs-uploader>
#droparea {
    padding: 50px 25px;
    margin: 30px auto;
    border: 1px solid #c3c3c3;
    text-align: center;
    width: 20%;
    display: inline-flex;
    .e-file-drop {
    display: none;
    body .e-upload-drag-hover {
    outline: 2px dashed brown;
    #uploadfile {  
    width: 60%;
    display: inline-flex;
    margin-left: 5%;
	.e-control .e-file-select,
	.e-control .e-file-drop {
	  display: none;


You can also explore ASP.NET Core File Upload feature tour page for its groundbreaking features. You can also explore our ASP.NET Core File Upload example to understand how to browse the files which you want to upload to the server.