I'm trying to right a simple client side check to make sure that atleast one file is uploaded.
But I've come across 2 problems
First:
which is used in many examples doesn't seem to work. I've over come this by using:
But was wondering why GetRadUpload wouldn't be working.
Second:
Once I've found the control with $find, its giving me the error:
"Object doesn't support this property or method", in reference too: GetFileInputs()
here is my script:
Thanks in advance for any help you can give.
But I've come across 2 problems
First:
var fileInputs = GetRadUpload('<%= RadUpload1.ClientID %>'); |
which is used in many examples doesn't seem to work. I've over come this by using:
var radUpload = $find("<%= RadUpload1.ClientID %>"); |
But was wondering why GetRadUpload wouldn't be working.
Second:
Once I've found the control with $find, its giving me the error:
"Object doesn't support this property or method", in reference too: GetFileInputs()
here is my script:
function checkUploadFileInput2() |
{ |
var radUpload = $find("<%= RadUpload1.ClientID %>"); |
var fileInputs = radUpload.GetFileInputs(); |
alert(fileInputs[0].value); |
} |
Thanks in advance for any help you can give.