This is a migrated thread and some comments may be shown as answers.

Required Validating for multiple RadUploads

2 Answers 19 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Imran
Top achievements
Rank 1
Imran asked on 22 Jun 2010, 03:43 PM
Hello

I have a page with 2 RadUploads and one submit button. There is also a RadProgressManager and RadProgressesArea.

The files that are going to be uploaded will be large. At the moment, I have server code that checks/validates to see if the user has selected two files. The problem is that, the files gets uploaded first, before the validating function is called.

So if the user uploads a big file in only one RadUpload, only when its finished uploading, does code get called to validate.. in which cases it'll throw up some validating error message. So the user will have to upload the one file again.

Is it possible to somehow do some client validation to check if the user has selected two files.. or even server check before file starts to upload?

Any help would be greatly appreciated..Thank you.

2 Answers, 1 is accepted

Sort by
0
Genady Sergeev
Telerik team
answered on 24 Jun 2010, 05:48 PM
Hello Imran,

I suggest that you take a look at the following help article that shows a possible approach to this problem. I also have some good news for you. Together with the Q2 release we will release updated upload control that will be able to validate the size of the files entirely on the client, without the need of RadProgressArea/RadProgressManager. The Q2 release is scheduled for the middle of July. Stay tuned!

Regards,
Genady Sergeev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Imran
Top achievements
Rank 1
answered on 25 Jun 2010, 10:16 AM
thanks for the heads up..

The URL was helpful and this helpful too:

http://www.telerik.com/help/aspnet-ajax/upload-required-field-validation.html

Good day,.
Tags
Upload (Obsolete)
Asked by
Imran
Top achievements
Rank 1
Answers by
Genady Sergeev
Telerik team
Imran
Top achievements
Rank 1
Share this question
or