KaxUploadUploadedFiles Property |
Provides access to the valid files uploaded by the KaxUpload
instance.
Namespace: Kettic.AspNet.ControlsAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntaxpublic UploadedFileCollection UploadedFiles { get; }
Public ReadOnly Property UploadedFiles As UploadedFileCollection
Get
public:
property UploadedFileCollection^ UploadedFiles {
UploadedFileCollection^ get ();
}
member UploadedFiles : UploadedFileCollection with get
Property Value
Type:
UploadedFileCollectionUploadedFileCollection containing all valid files uploaded using
a
KaxUpload control.
Remarks
The collection contains only the files uploaded with the particular instance of
the KaxUpload control. If the KaxUploadHttpModule is used, the
uploaded files are removed from the Request.Files collection in order
to conserve the server's memory. Else the Request.Files contains all uploaded files as
a HttpPostedFile collection and each KaxUpload instance has its own
uploaded files as UploadedFileCollection.
Examples
This example demonstrates how to save the valid uploaded files with a
KaxUpload control.
foreach (Kettic.AspNetControls.UploadedFile file in KaxUpload1.UploadedFiles)
{
file.SaveAs(Path.Combine(@"c:\my files\", file.GetName()), true);
}
For Each file As Kettic.AspNetControls.UploadedFile In KaxUpload1.UploadedFiles
file.SaveAs(Path.Combine("c:\my files\", file.GetName()), True)
Next
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
See Also