You don't need to know the Temporary File name. I would suggest that you handle the OnFileUploaded
event and store every file into the appropriate folder:
sender, FileUploadedEventArgs e)
//Get reference of the RadAsyncUpload
RadAsyncUpload upload = (RadAsyncUpload)sender;
//Get the DataKeyField
var id = (upload.Parent.Parent
//Generate the Target folder according to the Test's ID
target = Server.MapPath(
+ id.ToString() +
//Check if the generated target folder exists. If it doesn't create it.
//Get the full file name
fullFileName = target + e.File.FileName;
//Save the file
Sample is attached.
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed