This is a migrated thread and some comments may be shown as answers.

RadAsyncUpload Javascript error

4 Answers 201 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
john
Top achievements
Rank 1
john asked on 22 Nov 2011, 06:52 AM

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

4 Answers, 1 is accepted

Sort by
0
Dimitar Terziev
Telerik team
answered on 24 Nov 2011, 12:33 PM
Hi John,

Could you specify which is the exact version of the controls that you are using and if this behavior is only reproduced under specific browser.

Regards,
Dimitar Terziev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
john
Top achievements
Rank 1
answered on 25 Nov 2011, 02:56 PM
Thank you  for your reply.

Browser : Tested in IE (Our requirement is also IE only.)
Version : 2011 Q1 release.

Please help me to fix this issue.

Thanks,
john.

0
Dimitar Terziev
Telerik team
answered on 28 Nov 2011, 03:52 PM
Hello John,

The experienced problem was a known issue in the version of the controls that you are using. This problem is already fixed so try to upgrade if possible.

Regards,
Dimitar Terziev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
john
Top achievements
Rank 1
answered on 29 Nov 2011, 05:44 AM
Thank you for your reply,

Please provide if there is any work around.

Thanks,
John.
Tags
General Discussions
Asked by
john
Top achievements
Rank 1
Answers by
Dimitar Terziev
Telerik team
john
Top achievements
Rank 1
Share this question
or