Persist uploaded files after button_click event

2 posts, 0 answers
  1. Ever
    Ever avatar
    8 posts
    Member since:
    Nov 2014

    Posted 10 Mar 2015 Link to this post

    Hello, I using RadAsycUpload ASP.NET AJAX 2013.3.1324.40

    I need that RadAsyncUpload persists the uploaded files after that button_Click event finishes. 

    For example, the click action saves all uploaded files in the database, if occurs an error (during saving the files), it is necesary to show a message to user and persist the selected files previously. I tried to specify the property PostbackTriggers="button" in the RadAsyncUpload but when I press the button this control is empty after of the postback.

     <telerik:RadAsyncUpload ID="radUploadOne" runat="server"
                        InputSize="4" Width="90px" 

    <telerik:RadButton ID="button" runat="server" Text="ok" ClientIDMode="Static"

  2. Plamen
    Plamen avatar
    2725 posts

    Posted 12 Mar 2015 Link to this post

    Hello Ever,

    PostbackTriggers property of RadAsyncUpload points to the button that will upload the files and the observed behavior is expected. If you want to have a button that will postback and preserve the files you will have to add another button with different id.

    Hope this will help you solve the issue.


    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.

  3. DevCraft R3 2016 release webinar banner
Back to Top