Limit number of files

Aug 6, 2008 at 12:05 AM
I'm probably just missing the property somewhere, but is there a way to limit the number of files that can be selected?

TIA!

-Lee
Coordinator
Aug 6, 2008 at 3:35 PM
Edited Aug 6, 2008 at 3:58 PM
You can limit the maximum file size MaxFileSize="200KB" or maximum size of all the files MaxFileQueueSize="3MB" not the number. If you want to limit the number override the FileListTraverseJsFunction
Sep 2, 2008 at 3:45 PM
Hi!

 Firstly, thank you for making this BRILLIANT control. It is fantastic! Especially for a beginner like myself.

Can I ask yourself (or anyone else), how to I overide the FileListTraverseJsFunction?

I've tried adding this to the Page Load:

  FileUploader1.FileListTraverseJsFunction.Equals(1);

But it allows me to add more than 1 file.

Thank you, and apologies for my newbie status :)

Dave
Coordinator
Sep 2, 2008 at 6:11 PM
Please get the latest version, you can find there MaxNumberFiles property