New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Provides access to and organizes files uploaded by a client.

Clients encode files and transmit them in the content body using multipart MIME format with an HTTP Content-Type header of multipart/form-data. RadUpload extracts the encoded file(s) from the content body into individual members of an UploadedFileCollection. Methods and properties of the UploadedFile class provide access to the contents and properties of each file.

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public sealed class UploadedFileCollection : CollectionBase, IList, ICollection, IEnumerable

Inheritance: objectCollectionBaseUploadedFileCollection

Implements: ICollectionIEnumerableIList

Inherited Members CollectionBase.Clear()CollectionBase.RemoveAt(int)CollectionBase.GetEnumerator()CollectionBase.CapacityCollectionBase.Countobject.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()...

Properties

Gets an individual UploadedFile object from the file collection.

In C#, this property is the indexer for the UploadedFileCollection class.

C#
public UploadedFile this[int index] { get; }
Parameters:indexint

The index of the item to get from the file collection.

Property Value:

The UploadedFile specified by index.

Example:
cs-api-definition
Dim MyUploadedFile As UploadedFile = RadUpload1.UploadedFiles(0)
Dim MyFileName As String = UploadedFile.FileName
C#
public UploadedFile this[string id] { get; }
Parameters:idstring
In this article
DefinitionPropertiesthis[int]this[string]
Not finding the help you need?
Contact Support