Search results

Customize Progressbar in ASP.NET Core Uploader control

You can customize the progress bar’s size, color, and background by overriding the styles in uploader control. Refer to the following example.

tagHelper
progress-customize.cs
@{
    var asyncSettings = new Syncfusion.EJ2.Inputs.UploaderAsyncSettings { SaveUrl = "https://aspnetmvc.syncfusion.com/services/api/uploadbox/Save", RemoveUrl = "https://aspnetmvc.syncfusion.com/services/api/uploadbox/Remove" };
}

<div class="custom_progress">
    <ejs-uploader id="UploadFiles" asyncSettings="@asyncSettings">
    </ejs-uploader>
</div>
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 ActionResult DefaultFunctionalities()
        {
            return View();
        }
    }
}