This is a migrated thread and some comments may be shown as answers.

AsyncUpload Postback on Specific Control only

1 Answer 45 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
GIPL
Top achievements
Rank 2
GIPL asked on 11 Dec 2014, 11:40 AM
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.


Regards,
GIPL Team

1 Answer, 1 is accepted

Sort by
0
Hristo Valyavicharski
Telerik team
answered on 16 Dec 2014, 09:15 AM
Hi,

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.

Regards,
Hristo Valyavicharski
Telerik
 

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.

 
Tags
AsyncUpload
Asked by
GIPL
Top achievements
Rank 2
Answers by
Hristo Valyavicharski
Telerik team
Share this question
or