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

Default implementation of IAsyncUploadResult. Inherit this class and add additional fields to be returned from the upload handler.

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public class AsyncUploadResult : IAsyncUploadResult

Inheritance: objectAsyncUploadResult

Implements: IAsyncUploadResult

Inherited Members object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Constructors

C#
public AsyncUploadResult()

Properties

Gets the size in bytes of an uploaded file.

C#
public long ContentLength { get; set; }
Property Value:

The length of the file.

Implements: IAsyncUploadResult.ContentLength

Gets the MIME content type of a file sent by a client.

C#
public string ContentType { get; set; }
Property Value:

The MIME content type of the uploaded file.

Implements: IAsyncUploadResult.ContentType

Gets the fully-qualified name of the file on the client's computer (for example "C:\MyFiles\Test.txt").

C#
public string FileName { get; set; }
Property Value:

A string containing the fully-qualified name of the file on the client's computer.

Implements: IAsyncUploadResult.FileName