New to Telerik UI for ASP.NET AJAXStart a free 30-day trial

RadCloudUpload Object

The following table lists the important RadCloudUpload client-side methods:

 

NameParametersReturn TypeDescription
get_localizationnoneLocalization ObjectAccessing the Localization, you could easily find the predefined localization settings.(see ex.1)
set_enablednonebooleanSets the Enabled state of the RadCloudUpload.(see ex.2)
get_uploadedFilesnoneArrayReturns an array of the successfully uploaded files.(see ex.3)

Example 1

JavaScript
function getLocalizationInfo() {
	var cloudUpload = $find("<%= RadCloudUpload1.ClientID %>"),
		localization = cloudUpload.get_localization();
	alert("SelectButtonText is \"" +
			localization.SelectButtonText + "\" and SizeValidationFailedMessage is \"" +
			localization.SizeValidationFailedMessage + "\"");
}

Example 2

JavaScript
function manageEnabledState(value) {
	var cloudUpload = $find("<%= RadCloudUpload1.ClientID %>");
	cloudUpload.set_enabled(value);
}

Example 3

JavaScript
function getUploadedFilesCount() {
	var cloudUpload = $find("<%= RadCloudUpload1.ClientID %>"),
		uploadedFiles = cloudUpload.get_uploadedFiles(),
		uploadedFilesCount = uploadedFiles.length;
	alert("Uploaded Files count is " + uploadedFilesCount);
}
Not finding the help you need?
Contact Support