hello am facing a problem am uploading a file with the name file1.text and i have some validation in the backend if the validation failed i display an error saying the file contain some iunwanted text if i edit the file and try to upload it again nothing will happen no event is triggered except if i changed the file or the file name i tried to rename the file in the event selectedevent but didnt work
<SfUploader CssClass="upload-file" AutoUpload="true" AllowMultiple="false" AllowedExtensions=".txt" MaxFileSize=2097152>
<UploaderEvents ValueChange="UploadFile" OnRemove="RemoveFile"></UploaderEvents>
</SfUploader>
private void UploadFile(UploadChangeEventArgs e)
{
try
{
ms = e.Files.FirstOrDefault().Stream;
}
catch (Exception ex)
{
}
}
private void RemoveFile(RemovingEventArgs args)
{
ms = null;
}
i need to get the file upload every time even its the same file thank you