how to clear RadAsyncUpload files which is hosted in Jquery UI dialog on clientside?
// clears the radasync upload
function ClearFileInput() {
var upload = $find("<%= rauMailingDocument.ClientID %>");
if (upload._uploadedFiles.length > 0) {
Array.removeAt(upload._uploadedFiles, 0);
upload.deleteFileInputAt(0);
upload.updateClientState();
}
}
Edit: Update, the above seems to work, is that the preferred method?