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

Async upload should not postback on specific button

3 Answers 52 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
shubha
Top achievements
Rank 1
shubha asked on 16 Dec 2014, 03:36 PM
Hi, I have radasynupload control in datagrid. I have one button(say, button1) in another cell of a datagrid. My requirement is to continue async upload even after the button1 is clicked. I have used postbacktrigger property to add the control ids on which the rad control should postback. However the file upload stops after button1 is clicked.
Also, I read that Radasyncupload will not continue when you re-bind the datagrid. There is Ajax uploader control which holds the state even after data grid is refreshed if the control is added in update panel. Is there a way to do the same with Telerik radasync.

thanks

3 Answers, 1 is accepted

Sort by
0
Hristo Valyavicharski
Telerik team
answered on 19 Dec 2014, 07:56 AM
HI shubha,

You can persist uploaded files as you set the postbacktriggers property:
http://www.telerik.com/help/aspnet-ajax/asyncupload-persist-uploaded-files.html

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.

 
0
shubha
Top achievements
Rank 1
answered on 19 Dec 2014, 11:26 AM
Hi, thank you for your reply. I want to persist the in progress file during postback. With postbacktrigger I could persist only successfully uploaded files.
0
Hristo Valyavicharski
Telerik team
answered on 22 Dec 2014, 12:33 PM
This is not possible. Due to security reasons browsers cannot automatically select file from the client's machine and start to upload it.

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
shubha
Top achievements
Rank 1
Answers by
Hristo Valyavicharski
Telerik team
shubha
Top achievements
Rank 1
Share this question
or