Hi,
OK, I resolved it on my own. Insert this code in the file inheriting from RadUploadHandler:
//Occurs as each chunk of a file is being uploaded
public override void ProcessStream()
{
base.ProcessStream();
//After the request has been processed, check and see if this is a new file.
//If so, then process it
if (this.IsNewFileRequest())
{
//my own method
InsertFile(this.GetFileName());
}
}
Each time a new file is added, it will get the new file's name.
OK, I resolved it on my own. Insert this code in the file inheriting from RadUploadHandler:
//Occurs as each chunk of a file is being uploaded
public override void ProcessStream()
{
base.ProcessStream();
//After the request has been processed, check and see if this is a new file.
//If so, then process it
if (this.IsNewFileRequest())
{
//my own method
InsertFile(this.GetFileName());
}
}
Each time a new file is added, it will get the new file's name.