Persist Uploaded Files across Postbacks While using custom handler

2 posts, 0 answers
  1. Kiran
    Kiran avatar
    5 posts
    Member since:
    Jun 2012

    Posted 16 Jul 2014 Link to this post

    I am using the radasyncupload control with a custom handler.  The custom handler uploads the files directly to a database. 

    I am trying to get the control to persist these uploaded files across postback.  In the documentation it simply states that I need to set PostbackTriggers to the id of the button involved with submitting the form.  When I do that, the files are NOT persisted (the list of files already uploaded do not stay there). 

    Is there something that I'm missing with this?  Is this a bug with persisiting files while using the custom handler?
  2. Boyan Dimitrov
    Boyan Dimitrov avatar
    1966 posts

    Posted 21 Jul 2014 Link to this post


    Thank you for contacting Telerik Support.

    Please find attached a sample project that implements very similar scenario. There are two button below the RadAsyncUpload control. The first one does post-back the page but the uploaded files are persisted as expected. Only the second button is set as RadAsyncUpload PostBackTriggers control so when this button is clicked the page does post-back but the files are cleared.

    Hope that this will be helpful.

    Boyan Dimitrov

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top