Hi ,
I am using RadAsyncUpload control for uploading the files. While uploading the file when it is opened,
Some java script error is coming. Am capturing that error in OnClientUploadFailed event and displaying message to the user.
After that when i click on remove button, RadAsyncUpload control going invisible.
Please provide a solution for this.
Code
<telerik:RadAsyncUpload runat="server" ID="updControl" Skin="Office2007" MaxFileInputsCount="1"
ControlObjectsVisibility="None" AllowedFileExtensions=".xls,.xlsx" OverwriteExistingFiles="true"
Height="20px" OnClientFileUploadFailed="UploadFailed" OnClientFileSelected="FileSelected">
</telerik:RadAsyncUpload>
function UploadFailed(sender, args) {
setErrorMsg(
"Please ensure required file to be uploaded is saved and closed.");
args.set_handled(
true);
return;
}
Please find the attached screen shots
Thanks