I am having a RadUpload control with a Progress Area.
I have put client side validation to check valid file extension , file name entered etc.
I have a text box in the form (along with radupload and progress area), input of it has to be validated against the database. if the input is valid only it should upload the chosen document.
I have put a CustomValidator (server side) to do this validation.
What happens now even if the input is NOT valid, it uploads the documnt (progress area is shown) and then it shows the validation message.
Is there any way that I can supress this if invalid data is entered.
Thanks in advance.
I have put client side validation to check valid file extension , file name entered etc.
I have a text box in the form (along with radupload and progress area), input of it has to be validated against the database. if the input is valid only it should upload the chosen document.
I have put a CustomValidator (server side) to do this validation.
What happens now even if the input is NOT valid, it uploads the documnt (progress area is shown) and then it shows the validation message.
Is there any way that I can supress this if invalid data is entered.
Thanks in advance.