RadAsyncupload clears on post back

5 posts, 0 answers
  1. Dina
    Dina avatar
    5 posts
    Member since:
    Jan 2015

    Posted 26 May 2016 Link to this post

    I have few text boxes and one RadAsyncUpload in the form.

    When the form is submitted i am validating the text boxes in the server side and showing the validation message. 

    when the validation message box is shown, The RadAsyncupload controls is getting cleared.
    I want to have the radAsyncUpload Control values to be persisted for the subsequent submit.

     

    Thanks

  2. Dina
    Dina avatar
    5 posts
    Member since:
    Jan 2015

    Posted 29 May 2016 Link to this post

    Any Update on this
  3. Dina
    Dina avatar
    5 posts
    Member since:
    Jan 2015

    Posted 29 May 2016 in reply to Dina Link to this post

    i have been waiting for this... is there any one can answer this
  4. Ivan Danchev
    Admin
    Ivan Danchev avatar
    875 posts

    Posted 30 May 2016 Link to this post

    Hello Ashiq,

    You can use the AsyncUpload's PostBackTriggers property to persist the selected file across postbacks. The following documentation article explains this functionality in more detail.

    Regards,
    Ivan Danchev
    Telerik
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  5. João Pedro
    João Pedro avatar
    1 posts
    Member since:
    Jan 2017

    Posted 20 hours ago Link to this post

    Hi,

    I have similiary the same problem.
    In my page i have a grid with manual update and delete comands that go to the server and do their proper things.
    The problem is, every time i go to the server and back (without using the radAsyncUpload) the RadAsyncUpload gets hidden/cleared.
    I have set the PostBackTriggers to a button in my page that deals with the reading of the files. But it doesn't solve.
    At this time i am not looking to preserve the files (cause im not even using the RadAsyncUpload). 
    I just want to preserve the RadAsyncUpload itself.

    Adding another information. After this happend i go to see the source code of the page, and the input of the RadAsyncUpload is type="hidden".

     

    Can anyone help me?

Back to Top