Use in Single Page App scenario

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

    Posted 12 Aug 2015 Link to this post

    I am using the Telerik Ajax controls in a Single Page App type scenario. I use the client side API of the Telerik controls combined with web service calls when I need to communicate with the server. I can't post back the page as it is currently implemented or I will have all kinds of lost client state issues to contend with. However, I need to be able to upload single files from the client to the server through this SPA page. Can the AsycnUpload control support such a scenario? It seems that all of the demos demonstrate the need to post back the page. I guess I could open a secondary page in a popup RandWindow and have this window do the uploading, but this is not very seamless. -Thanks for your thoughts.
  2. Ivan Danchev
    Ivan Danchev avatar
    788 posts

    Posted 17 Aug 2015 Link to this post


    RadAsyncUpload requires a postback to be performed in order to save the selected file/files to the specified Target folder. After a user selects a file it is automatically saved in the temporary folder (default or specified through the TemporaryFolder property), then on postback it is copied to the Target folder and deleted from the temporary folder. If no postback occurs the temporary file will be automatically deleted after the time set in the TemporaryFileExpiration property expires.

    Ivan Danchev
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. DevCraft R3 2016 release webinar banner
Back to Top