Provides access to the valid files uploaded by the
RadUpload
instance.
Namespace: Telerik.WebControls
Assembly: RadUpload (in RadUpload.dll)
Syntax
Return Value
UploadedFileCollection containing all valid files uploaded using
a
RadUpload control.
Example
This example demonstrates how to save the valid uploaded files with a
RadUpload control.
| Visual Basic | Copy Code |
|---|
For Each file As Telerik.WebControls.UploadedFile In RadUpload1.UploadedFiles
file.SaveAs(Path.Combine("c:\my files\", file.GetName()), True)
Next
|
| C# | Copy Code |
|---|
foreach (Telerik.WebControls.UploadedFile file in RadUpload1.UploadedFiles)
{
file.SaveAs(Path.Combine(@"c:\my files\", file.GetName()), true);
}
|
Remarks
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also