UploadedFileInfo
This class implements the UploadedFileInfo object and its fields and methods.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
public class UploadedFileInfo : IAsyncUploadResult
Inheritance: objectUploadedFileInfo
Implements:
Inherited Members
Constructors
public UploadedFileInfo()
Properties
Gets the size in bytes of an uploaded file.
public long ContentLength { get; set; }
The length of the file.
Implements:
Gets the MIME content type of a file sent by a client.
public string ContentType { get; set; }
The MIME content type of the uploaded file.
Implements:
Gets the last modified date of the uploaded file in JSON format.
public string DateJson { get; }
Last modified date of the uploaded file in JSON format.
The property is available only in RadAsyncUpload control when FileApi module is used
Gets the fully-qualified name of the file on the client's computer (for example "C:\MyFiles\Test.txt").
public string FileName { get; set; }
A string containing the fully-qualified name of the file on the client's computer.
Implements:
Methods
Copies the file info to IAsyncUploadResult.
public static void CopyFileInfo(IAsyncUploadResult result, UploadedFile file)
The result.
fileUploadedFileThe file.