Hi,
I'm using the following code behing at the send form button click event in order to check if my RadUpload has at last 1 file to be uploaded, this works fine in IE but not in Firefox that display the error message each times.
I'm using the following code behing at the send form button click event in order to check if my RadUpload has at last 1 file to be uploaded, this works fine in IE but not in Firefox that display the error message each times.
Dim CheckNbrPics As Integer = 0
For Each file As UploadedFile In RuPhotos.UploadedFiles
CheckNbrPics = CheckNbrPics + 1
Next file
If CheckNbrPics = 0 Then
MyFormValid =
False
sbError.Append(
"<li class=""Error"">Error text</li>")
End If
The files are saved in a second time.
I would like to keep this validation in the logik of my code behing, is it possible ?
It seems that FF download 1st the files and play the code after this, IE not.
Any idea to fix it ?
Thanks,
Herve