Required Validating for multiple RadUploads

Thread is closed for posting
3 posts, 0 answers
  1. Imran
    Imran avatar
    24 posts
    Member since:
    Jan 2007

    Posted 22 Jun 2010 Link to this post

    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. Genady Sergeev
    Admin
    Genady Sergeev avatar
    1596 posts

    Posted 24 Jun 2010 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Imran
    Imran avatar
    24 posts
    Member since:
    Jan 2007

    Posted 25 Jun 2010 Link to this post

    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,.
Back to Top