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

Definition

Namespace:Telerik.Web.UI

Inheritance: Telerik.Web.UI.RadWebControlTelerik.Web.UI.RadAsyncUpload

Events

Adds a added event handler for the radasyncupload

JS
add_added
Parameters:handlerFunction

The event handler function to attach

Adds a fileDropped event handler for the radasyncupload

JS
add_fileDropped
Parameters:handlerFunction

The event handler function to attach

Adds a fileSelected event handler for the radasyncupload

JS
add_fileSelected
Parameters:handlerFunction

The event handler function to attach

Adds a filesSelected event handler for the radasyncupload

JS
add_filesSelected
Parameters:handlerFunction

The event handler function to attach

Adds a fileUploaded event handler for the radasyncupload

JS
add_fileUploaded
Parameters:handlerFunction

The event handler function to attach

Adds a fileUploadFailed event handler for the radasyncupload

JS
add_fileUploadFailed
Parameters:handlerFunction

The event handler function to attach

Adds a fileUploading event handler for the radasyncupload

JS
add_fileUploading
Parameters:handlerFunction

The event handler function to attach

Adds a fileUploadRemoved event handler for the radasyncupload

JS
add_fileUploadRemoved
Parameters:handlerFunction

The event handler function to attach

Adds a fileUploadRemoving event handler for the radasyncupload

JS
add_fileUploadRemoving
Parameters:handlerFunction

The event handler function to attach

Adds a progressUpdating event handler for the radasyncupload

JS
add_progressUpdating
Parameters:handlerFunction

The event handler function to attach

Adds a validationFailed event handler for the radasyncupload

JS
add_validationFailed
Parameters:handlerFunction

The event handler function to attach

Removes a added event handler from the radasyncupload

JS
remove_added
Parameters:handlerFunction

The event handler function to remove

Removes a fileDropped event handler from the radasyncupload

JS
remove_fileDropped
Parameters:handlerFunction

The event handler function to remove

Removes a fileSelected event handler from the radasyncupload

JS
remove_fileSelected
Parameters:handlerFunction

The event handler function to remove

Removes a filesSelected event handler from the radasyncupload

JS
remove_filesSelected
Parameters:handlerFunction

The event handler function to remove

Removes a fileUploaded event handler from the radasyncupload

JS
remove_fileUploaded
Parameters:handlerFunction

The event handler function to remove

Removes a fileUploadFailed event handler from the radasyncupload

JS
remove_fileUploadFailed
Parameters:handlerFunction

The event handler function to remove

Removes a fileUploading event handler from the radasyncupload

JS
remove_fileUploading
Parameters:handlerFunction

The event handler function to remove

Removes a fileUploadRemoved event handler from the radasyncupload

JS
remove_fileUploadRemoved
Parameters:handlerFunction

The event handler function to remove

Removes a fileUploadRemoving event handler from the radasyncupload

JS
remove_fileUploadRemoving
Parameters:handlerFunction

The event handler function to remove

Removes a progressUpdating event handler from the radasyncupload

JS
remove_progressUpdating
Parameters:handlerFunction

The event handler function to remove

Removes a validationFailed event handler from the radasyncupload

JS
remove_validationFailed
Parameters:handlerFunction

The event handler function to remove

Methods

Adds a new row to the RadAsyncUpload control.

JS
addFileInput(): void

Deletes all file inputs.

JS
deleteAllFileInputs(): void

Deletes the file input at the the specified index

JS
deleteFileInputAt(Number index, Boolean skipEvent): void
Parameters:indexNumber

The index to delete at

skipEventBoolean

Specifies whether the onRowDeleting event should be skipped or not

JS
get_allowedFileExtensions(): void
JS
get_dropZones(): void

RadAsyncUpload

JS
get_element(): Element
Returns:

Element

Gets a value indicating whether the RadAsyncUpload is enabled.

JS
get_enabled(): Boolean
Returns:

Boolean

True if the RadAsyncUpload is enabled

JS
get_fileFilter(): void
JS
get_handlerUrl(): void

RadAsyncUpload

JS
get_initialFileInputsCount(): Object
Returns:

Object

JS
get_loadedModuleName(): void

RadAsyncUpload

JS
get_maxFileCount(): Object
Returns:

Object

JS
get_multipleFileSelectionEnabled(): void

RadAsyncUpload

JS
getID(Object string): Object
Parameters:stringObjectReturns:

Object

JS
getInvalidFiles(): void
JS
getUploadedFiles(): Array
Returns:

Array

a string array of the file names of the uploaded files

Gets a value indicating whether the file extension is valid.

JS
isExtensionValid(String extension): Boolean
Parameters:extensionString

The extension to check

Returns:

Boolean

True if the file extension is valid

When FileAPI module is used the method pauses the upload. Keep in mind that it stops right after the uploading chunk is uploaded.

JS
pauseUpload(): void

When FileAPI module is used the method resumes the upload when its paused.

JS
resumeUpload(): void

Saves the client state to the client state hidden field.

JS
saveClientState(): void
JS
set_allowedFileExtensions(): void
JS
set_dropZones(): void

Sets a boolean value indicating whether the RadAsyncUpload is enabled.

JS
set_enabled(Boolean enable): void
Parameters:enableBoolean

enable

RadAsyncUpload

JS
set_maxFileCount(Object integer): Object
Parameters:integerObjectReturns:

Object

Starts the upload when ManualUplaod is set and files are selected.

JS
startUpload(): void
Not finding the help you need?
Contact Support