Using the RadAsync Upload and it's failing for some IE10s. (Red Dot after Upload).
Forms Authentication.
Location specific authorization for Telerik.Web.UI.WebResource.axd.
Windows8 Client
IE10 browser only fails. -- Some client systems with IE10 succeed.
Any help would be appreciated
1 Answer, 1 is accepted
0
Hristo Valyavicharski
Telerik team
answered on 08 Oct 2013, 01:24 PM
Hi Thomas,
The red dot usually appears, when the file validation fails. This happens when uploaded file exceeds the maximum allowed file size or when it is of file type that is not allowed. Try to handle OnClientValidationFailed event and check if this event will be fired:
var fileExtention = args.get_fileName().substring(args.get_fileName().lastIndexOf('.') + 1, args.get_fileName().length);
if (args.get_fileName().lastIndexOf('.')!=-1) {//this checks if the extension is correct
if (sender.get_allowedFileExtensions().indexOf(fileExtention)==-1) {
alert("Wrong Extension!");
}
else {
alert("Wrong file size!");
}
}
else {
alert("not correct extension!");
}
}
Regards,
Hristo Valyavicharski
Telerik
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 the blog feed now.