-
Claus
2
posts
Member since:
May 2013
Posted 22 May 2013
Link to this post
Hi,
I am testing the radasyncupload - but have run into a small issue.
Is it possible to have the radasyncupload upload files automatically - so it doesn't wait for a postback ?
As it is now files are files first copied from temp files to the correct location when I push a submit button.
Best regards
Claus
-
-
Jay
88
posts
Member since:
Dec 2011
Posted 22 May 2013
Link to this post
I believe it requires a postback, but you could use the client-side event OnClientFileUploaded to programatically invoke the postback by e.g. invoking click() on the submit button.
-
-
141
posts
Member since:
Apr 2008
Posted 22 May 2013
Link to this post
You can use a RadAjaxManager to AJAXifify the page. Then, add an AjaxTimer to regularly cause AJAX postbacks. In the postback you can check if the RadAsynchUploader has any files in the UploadedFiles property.
-
-
Claus
2
posts
Member since:
May 2013
Posted 22 May 2013
Link to this post
Hi,
thanks for the reply :-)
This could be a solution for me - I will be having +10 upload components on one page.
I am not sure if it would give me problems firing AJAX postbacks - if one of the RadAsynchUploaders is still working on copying to the temp location.
-