Async upload should not postback on specific button

4 posts, 0 answers
  1. shubha
    shubha avatar
    2 posts
    Member since:
    Dec 2014

    Posted 16 Dec 2014 Link to this post

    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
  2. Hristo Valyavicharski
    Admin
    Hristo Valyavicharski avatar
    975 posts

    Posted 19 Dec 2014 Link to this post

    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.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. shubha
    shubha avatar
    2 posts
    Member since:
    Dec 2014

    Posted 19 Dec 2014 in reply to Hristo Valyavicharski Link to this post

    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.
  5. Hristo Valyavicharski
    Admin
    Hristo Valyavicharski avatar
    975 posts

    Posted 22 Dec 2014 Link to this post

    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.

     
Back to Top