Upload.UploadedFiles empty after failed validation fails

Thread is closed for posting
2 posts, 0 answers
  1. Dave
    Dave avatar
    1 posts
    Member since:
    Feb 2012

    Posted 13 Feb 2012 Link to this post

    Server-side validation finds an error in some other user's entries when they attempt to upload a file they've selected.

    After the PostBack, the Upload file list is empty again. How do I preserve the list so the user need not enter it again? Do I have to programmatically save and restore it myself?
  2. Bozhidar
    Admin
    Bozhidar avatar
    1102 posts

    Posted 14 Feb 2012 Link to this post

    Hi Dave,

    In this case I recommend that you use RadAsyncUpload. It has the ability to persist the selected files after postback when you use the PostBackTriggers property, as shown in this demo.
     
    Greetings,
    Bozhidar
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top