Default implementation of IAsyncUploadConfiguration. Base class that can be used to pass custom information from the page to the handler. Inherit this class and add a relevant data.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
public class AsyncUploadConfiguration : IAsyncUploadConfiguration
Inheritance: objectAsyncUploadConfiguration
Implements:
Inherited Members
Constructors
public AsyncUploadConfiguration()
Properties
Gets or sets the allowed file extensions send to the upload handler.
public string[] AllowedFileExtensions { get; set; }
The AllowedFileEntensions.
Gets or sets the CSRF token to validate the request. The token will be generated on the page and passed to the handler in order to validate the request and prevent CSRF attacks.
public string CsrfToken { get; set; }
Gets or sets the max file size.
public int MaxFileSize { get; set; }
The max file size.
Implements:
Gets or sets the target folder.
public string TargetFolder { get; set; }
The target folder.
Implements:
Gets or sets the temp target folder.
public string TempTargetFolder { get; set; }
The temp target folder.
Implements:
Gets or sets the time to live.
public TimeSpan TimeToLive { get; set; }
The time to live.
Implements:
Gets or sets whether to use application pool impersonation.
public bool UseApplicationPoolImpersonation { get; set; }
The usage of application pool impersonation.