Indeed such problem exists. Fortunately, it is pretty easy to fix it. Just reset the value of the hidden input field after you are ready. Example:
sender, EventArgs e)
//All files are serialized as UploadedFileInfo object in JSON format stored in the UploadedFilesJson hidden field
List<UploadedFileInfo> uploadedFiles =
//Check whether the user uploaded any files.
DataContractJsonSerializer serializer =
//Deserialize the uploaded files
uploadedFiles = (List<UploadedFileInfo>)serializer.ReadObject(
fullName = Path.Combine(MapPath(
//Use the uploaded files for something
fileContents = File.ReadAllText(fullName);
//Give some feedback that the file is processed
+ file.FileName +
+ file.FileSize +
//Optionally delete the uploaded file
The important line here is the last line. I have attached sample project to this replay that demonstrates the approach.
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Public Issue Tracking
system and vote to affect the priority of the items