AsyncUpload Postback on Specific Control only

2 posts, 0 answers
  1. GIPL
    GIPL avatar
    2 posts
    Member since:
    Jun 2010

    Posted 11 Dec 2014 Link to this post

    Respected Sir/M'am,

    we are currently facing an issue in RadAsyncUpload where :
    1)  After the file is uploaded, if any postback occurs (may it

    be a cancel button postback or any other control postback) the

    uploaded file is directly moved to the target folder

    Is there any solution where on specified control click only ,

    the uploaded file can be moved to target folder else it will

    persist as it is uploaded.

    GIPL Team
  2. Hristo Valyavicharski
    Hristo Valyavicharski avatar
    975 posts

    Posted 16 Dec 2014 Link to this post


    You can try the PostBackTriggers property:

    <telerik:RadAsyncUpload runat="server" ID="upload" PostbackTriggers="RadButton1"></telerik:RadAsyncUpload>
    <telerik:RadButton ID="RadButton1" runat="server" Text="RadButton"></telerik:RadButton>
    <telerik:RadButton ID="RadButton2" runat="server" Text="RadButton"></telerik:RadButton>

    File will be submitted only if the postback is caused by a control which is defined in the PostbackTriggers property.

    Hristo Valyavicharski

    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