We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

UploaderEvents for Success on Syncfusion.EJ2.Blazor (17.2.0.46-beta)

Thread ID:

Created:

Updated:

Platform:

Replies:

146827 Aug 22,2019 04:15 AM UTC Aug 22,2019 12:34 PM UTC Blazor 1
loading
Tags: File Upload
Riyan Afriyanto
Asked On August 22, 2019 04:15 AM UTC

I was upgrade my syncfusion to 17.2.0.46-beta, but after update I have trouble with Success event in uploader are not running as my expected.
Success Event not running to @OnSuccess

this my code,


<EjsUploader ID="uploadFiles" Multiple="false" AllowedExtensions=".jpg,.jpeg,.png" MinFileSize="3000" MaxFileSize="5000000">
    <UploaderEvents Success="@OnSuccess"></UploaderEvents>
    <UploaderAsyncSettings SaveUrl="api/Save1" RemoveUrl="api/Remove1" ChunkSize="5000"></UploaderAsyncSettings>
</EjsUploader>

Gopi Govindasamy [Syncfusion]
Replied On August 22, 2019 12:34 PM UTC

Hi Riyan,  

We have checked your reported issue and this is known issue in our end. We have already logged bug report for it. We will fix the issue and the fix is include in our upcoming patch release and scheduled on 27th August 2019. You can track the status of the reported issue from the below feedback link. 


For your convenience, We have created a private NuGet. Please get the attachment from above feedback link. we will intimate you, once the patch got release. 

We have prepared sample and code snippet for your reference.  

@using Syncfusion.EJ2.Blazor 
@using Syncfusion.EJ2.Blazor.Inputs 
 
    <EjsUploader> 
        <UploaderEvents Success="OnSuccess"></UploaderEvents> 
        <UploaderAsyncSettings SaveUrl="https://aspnetmvc.syncfusion.com/services/api/uploadbox/Save" 
                               RemoveUrl="https://aspnetmvc.syncfusion.com/services/api/uploadbox/Remove"></UploaderAsyncSettings> 
    </EjsUploader> 
 
@code{ 
 
    public string Status { get; set; } 
 
    public void OnSuccess(SuccessEventArgs args) 
    { 
        this.Status = args.StatusText; 
    } 
} 

 
Regard, 
Gopi G. 



CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon