Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
147481 | Sep 12,2019 06:56 AM UTC | Sep 13,2019 11:37 AM UTC | Blazor | 1 |
![]() |
Tags: File Upload |
@using Syncfusion.EJ2.Blazor.Inputs;
<EjsUploader DropArea=".control-fluid" MaxFileSize="10000000">
<UploaderFiles>
<UploaderUploadedFiles Name="Nature" Size=500000 Type=".png"></UploaderUploadedFiles>
</UploaderFiles>
<UploaderAsyncSettings SaveUrl="https://aspnetmvc.syncfusion.com/services/api/uploadbox/Save" RemoveUrl="https://aspnetmvc.syncfusion.com/services/api/uploadbox/Remove"></UploaderAsyncSettings>
</EjsUploader>
@code{
public void OnFileRemove(RemovingEventArgs removingEventArgs)
{
removingEventArgs.Cancel = true;
var name = removingEventArgs.FilesData.First().Name;
this.InvokeAsync(this.StateHasChanged);
}
} |
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.
This page will automatically be redirected to the sign-in page in 10 seconds.