|
<SfUploader ID="UploadFiles" AutoUpload="false" AllowedExtensions=".gif, gif, .jpg, jpg, .jpeg, jpeg, .png, png" Multiple="false">
<UploaderAsyncSettings SaveUrl="api/SampleData/Save" RemoveUrl="api/SampleData/Remove"></UploaderAsyncSettings>
</SfUploader> |
|
[HttpPost("[action]")]
public async void Save(IList<IFormFile> UploadFiles)
{
try
{
foreach (var file in UploadFiles)
...
}
} |
|
|
Please make this clear on documentation, I spent hours on same issue yesterday and nowhere in the documentation mention this, neither does the examples uses the ID attribute, somehow managed to find this after many frustrating hours
Regards,
DM