Posted 27 Feb 2011 Link to this post
<
script
type
=
"text/javascript"
>
//
<![CDATA[
function mergeFileUploaded(sender, args) {
<%= Page.GetPostBackEventReference(LB_doUploadData)%>;
}
function mergeUplOK(sender, eventArgs) {
$telerik.$(".mergeuplErr")
.html('');
function mergeValidationFailed(sender, eventArgs) {
.html('<%= GetTranslation("invalidmergefile") %>');
sender.deleteFileInputAt(0);
//]]>
</
telerik:RadAsyncUpload
ID
"RadAsyncUpload_Data"
HttpHandlerUrl
"~/uploadHandler.ashx"
runat
"server"
MaxFileInputsCount
"1"
AllowedFileExtensions
"csv,xls,xlsx,tsv"
OnClientFilesUploaded
"mergeFileUploaded"
OnClientFileUploading
"mergeUplOK"
OnClientValidationFailed
"mergeValidationFailed"
/>
div
id
"uplErr"
class
"mergeuplErr"
></
Posted 07 Mar 2011 Link to this post
This is a bug in RadAsyncUpload which we are ought to fix for the upcoming Q1 release. The will apply the behavior present in the Silverlight module into all modules.