Hello to telerik.
I found this different information about client side validation extension on RadUpload.
this is saying arguments.IsValid = <%= RadUpload1.ClientID %>.ValidateExtensions(); missing $find() function
and this is saying
so I thing there should be find function.
But whats worries me is when I do this: var fileInputs = $find(fileuploadId).GetFileInputs(); I get Error: $find(fileuploadId).GetFileInputs is not a function. And variable fileuploadId is correct because validateExtensions on that object works fine...
I want to check if there is at least one file selected (on client). Do you know about better approach? Thanks.
I found this different information about client side validation extension on RadUpload.
this is saying arguments.IsValid = <%= RadUpload1.ClientID %>.ValidateExtensions(); missing $find() function
and this is saying
arguments.IsValid = $find('<%= RadUpload1.ClientID %>').validateExtensions();so I thing there should be find function.
But whats worries me is when I do this: var fileInputs = $find(fileuploadId).GetFileInputs(); I get Error: $find(fileuploadId).GetFileInputs is not a function. And variable fileuploadId is correct because validateExtensions on that object works fine...
I want to check if there is at least one file selected (on client). Do you know about better approach? Thanks.