Quantcast
Channel: AjaxFileUpload Control hasFile Validation
Viewing all articles
Browse latest Browse all 14

Re: AjaxFileUpload Control hasFile Validation

$
0
0

Hi Nan 

thanks for your reply,  I got it resolved I have added the following Page_ISValid in the script 

<script type="text/javascript">
function validate() {
if (!Page_IsValid) {
return false;
}
if ($(".ajax__fileupload_fileItemInfo").length > 1) {
alert('only 1 File is allowed to Upload');
}
else {
alert('Select thesis file (only .pdf) to upload it');
}
}
</script>


Viewing all articles
Browse latest Browse all 14

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>