ComponentOne ToolBar for ASP.NET AJAX: Adding and Uploading Files > Accessing Uploaded Files

Accessing Uploaded Files

C1Upload provides two properties to access the uploaded files:

      UploadedFiles

Contains all valid uploaded files.

      InvalidFiles

Contains uploaded files that did not pass the validation or server-side custom validation. If the validation or custom validation is not used then all uploaded files will appear in the C1FileInfoCollection.

Both the UploadedFiles and InvalidFiles properties are of type C1.Web.UI.C1FileInfoCollection. Each file in the collection is an instance of C1FileInfo class.


Send comments about this topic to ComponentOne.
Copyright © 1987-2010 ComponentOne LLC. All rights reserved.