Hello,
I am trying to remove a file that is uploaded in EjsUploader like this:
<EjsUploader DropArea=".control-fluid"
Files=@this.SyncfusionFiles
AsyncSettings=@this.AsyncSettings
MaxFileSize="10000000">
<UploaderEvents OnUploadStart=@this.OnFileUpload
OnRemove=@this.OnFileRemove></UploaderEvents>
</EjsUploader>
public void OnFileRemove(RemovingEventArgs removingEventArgs)
{
removingEventArgs.Cancel = true;
var name = removingEventArgs.FilesData.First().Name;
this.InvokeAsync(this.StateHasChanged);
}
The name variable has the extension appended 2 times: file.jpg.jpg
Kind Regards,
Tsvetan