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

Use in Single Page App scenario

1 Answer 75 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 12 Aug 2015, 04:10 PM
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.

1 Answer, 1 is accepted

Sort by
0
Ivan Danchev
Telerik team
answered on 17 Aug 2015, 10:47 AM
Hello,

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.

Regards,
Ivan Danchev
Telerik
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
Tags
AsyncUpload
Asked by
Michael
Top achievements
Rank 1
Answers by
Ivan Danchev
Telerik team
Share this question
or