Click or drag to resize
KaxAsyncUpload Class
Inheritance Hierarchy
SystemObject
  System.Web.UIControl
    System.Web.UI.WebControlsWebControl
      KaxWebControl
        Kettic.AspNet.ControlsKaxUpload
          Kettic.AspNet.ControlsKaxAsyncUpload

Namespace: Kettic.AspNet.Controls
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
public class KaxAsyncUpload : KaxUpload

The KaxAsyncUpload type exposes the following members.

Constructors
  NameDescription
Public methodKaxAsyncUpload
Top
Methods
  NameDescription
Public methodCreateDefaultUploadConfigurationT
Creates an object of type T (that implements IAsyncUploadConfiguration) and populates all properties specified in the interface from this KaxAsyncUpload instance. The user is then free to populate any additional properties.
Top
Properties
  NameDescription
Public propertyAutoAddFileInputs
Specifies whether a new File Input should be automatically added upon selecting a file to upload.
Public propertyControlObjectsVisibility (Overrides KaxUploadControlObjectsVisibility.)
Public propertyHttpHandlerUrl
Specifies the URL of the HTTPHandler from which the image will be served
Public propertyInvalidFiles (Overrides KaxUploadInvalidFiles.)
Public propertyMaxFileSize (Overrides KaxUploadMaxFileSize.)
Public propertyMultipleFileSelection
Specifies whether KaxAsyncUpload allows selecting multiple files in the File Selection dialog.
Public propertyCode exampleOnClientFileUploaded
Gets or sets the name of the client-side function which will be executed when a file upload finishes successfully.k
Public propertyCode exampleOnClientFileUploadFailed
Gets or sets the name of the client-side function which will be executed when a file upload ends unsuccessfully.
Public propertyCode exampleOnClientFileUploading
Gets or sets the name of the client-side function which will be executed when a file upload starts.
Public propertyCode exampleOnClientValidationFailed
Gets or sets the name of the client-side function which will be executed if the selected file has invalid extension
Public propertyTemporaryFileExpiration
Sets how long temporary files should be kept before automatically deleting them.
Public propertyTemporaryFolder
Path to a folder where KaxAsyncUpload should save files temporarily until a postback occurs.
Public propertyUploadConfiguration
Sets upload configuration that has additional information. The generic object can be obtained using the CreateUploadConfiguration <T> method, where T is custom class that implements IAsyncUploadConfiguration. The custom class can contain any sort of custom data.
Top
Events
  NameDescription
Public eventFileUploaded
Occurs once for each uploaded file.
Top
See Also