Validating and providing feedback

  •  11-10-2009, 12:40 PM

    Validating and providing feedback

    Hello:
     
    I am using the FileValidating event to check for duplicate files.  If I find a duplicate file, I execute an args.Delete() to remove the file so that the FileUploaded event does not fire for that file.  I want to record the names of each file that is a duplicate and present that list to my users.  I've tried adding the names to a label, but the label gets cleared out each time I go back to the FileValidating event.  I tried adding the information to a Session variable but that did not seem to work either.  I tried populating a label in the UploadCompleted event, but if all my files are duplicates, that event will never fire.
     
    Any ideas on how to do this would be most welcome. 
View Complete Thread