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

RadAsyncUpload with iPad - file access

3 Answers 172 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Ken
Top achievements
Rank 1
Ken asked on 25 Nov 2015, 03:52 PM

Good day,

I'm trying to use RadAsyncUpload to upload various document types (PDF, doc, docx). 

On my iPad, when I click the "Select" button, I only have the option to upload images (see attached).

While searching for an answer, I came across this old blog post indicating it should be possible to upload files from iOS devices: http://www.telerik.com/blogs/uploading-files-with-telerik-s-asp-net-async-upload-control-more-flexible-than-ever

 

My question is: are images the only filetype that can be uploaded with iOS devices with the RadAsyncUpload control? If not, how can I set it so I can upload PDF/doc/etc?

Thank you!

My code snippet:

<telerik:RadAsyncUpload ID="uploadCV" runat="server"
    Skin="MetroTouch"
    UseApplicationPoolImpersonation="true"
    AutoAddFileInputs="false"
    InitialFileInputsCount="1"
    AllowedFileExtensions="pdf,doc,docx"
    MaxFileInputsCount="1"
    ToolTip="Upload your C.V."
    OnClientFileUploaded="fileUploaded"
    EnableInlineProgress="true"
    MultipleFileSelection="Disabled">
</telerik:RadAsyncUpload>

3 Answers, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 26 Nov 2015, 02:29 PM
Hello,

Thank you for contacting Telerik Support.

I am afraid that this is a limitation imposed by the iOS itself and it is beyond our control. The iOS allows upload access only to the pictures and videos folders in its file system. You could test it with a page having an HTML input type="file" element. If you try to upload from iOS, the only options you would have are to either take a picture/video or upload already taken ones.

The RadAsyncUpload is rendered as such an element on your page as well. Thus, it is under the same operation system limitation. Only Apple could remove this restriction by implementing full access to the iOS file system.

And as far as the old blog post is concerned, it addresses the fact that the previous versions of Safari did not allow file upload at all. And since this option was added to Safari, RadAsyncUpload was updated to allow upload in Safari.

Feel free to contact us again, if you have any questions.


Regards,
Dimitar
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
0
jeff
Top achievements
Rank 1
answered on 08 Sep 2016, 03:40 PM
RadAsync Upload control is failing with newly upgraded iOS 9 iPads. It pretty much took down our sales force. I am scrapping all Telerik controls because we can't trust that they will work. Why does it now not work with our Apple iPad iOS 9 versions? It worked fine with 8. Apple will not allow downgrading at this point.
0
Dimitar
Telerik team
answered on 12 Sep 2016, 03:45 PM
Hello,

I would like to notify you that the latest RadAsyncUpload control (R2 2016 SP1 - 2016.2.607) works as expected on the latest iOS 9.3.5. You could do a live test on our RadAsyncUpload Overview demo. Tested it with earlier versions, e.g. Q1 2015 and Q1 2014, RadAsyncUpload works as expected as well.

If the issue is still reproducible with our latest version, in order to assist you in the most efficient way I would suggest that you provide us with a very simplified runnable project that demonstrates the behavior that you describe. It may include aspx, code behind, web.config, as well as any other files you find necessary. Thus, we could test your exact scenario locally and determine what might be causing the issue that you are experiencing. You can find guidelines how to prepare such a sample in the Isolating a problem in a sample project blog post.

And last, but not least, I would ask you avoiding threads duplication for an issue, which allows us to provide you with better support. Let's continue this communication in the ticket thread, which allows uploading projects.

Thank you in advance for your cooperation.

Regards,
Dimitar
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
AsyncUpload
Asked by
Ken
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
jeff
Top achievements
Rank 1
Share this question
or