All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
<
telerik:RadAsyncUpload
ID
=
"raduploadValidateFilenam"
runat
"server"
OnClientFileUploading
"ValidateFileName"
>
</
<script type=
"text/javascript"
function
ValidateFileName(sender, args) {
//filename to validate
var
FileName =
"temporary name"
;
if
(args.get_fileName() != FileName)
args.set_cancel(
true
);
}
</script>