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

Upload button doesnt show up

4 Answers 492 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Louise
Top achievements
Rank 1
Louise asked on 19 Nov 2016, 12:21 AM

Hello,

 

When I set the url of the async to a cross domain site (Amazon S3 Bucket) and set autoupload to false, the upload button won't show up after selecting files.

4 Answers, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 21 Nov 2016, 07:37 AM

Hello Louise,

I would suggest to check the browsers developer tools for JavaScript errors that may hint what is the reason for this behavior. If the problem is still reproducing, you could share with us the exact implementation of the Upload widget.

Regards,
Dimiter Madjarov
Telerik by Progress
Kendo UI is ready for Visual Studio 2017 RC! Learn more.
0
Louise
Top achievements
Rank 1
answered on 22 Nov 2016, 02:39 AM

<input title="" name="files" type="file" kendo-upload k-options="options" />

and on the js file:
 $scope.options = {
        config: {
            async: {
                saveURL : "https://s3-ap-southeast-2.amazonaws.com/xxx",
                autoUpload: false
            },
            multiple: true
        }
}

 

If i change the saveurl to point to my own site, the upload button shows by when it points to amazons3 the button doesnt show. there is no error on firebug and chrome developer tools

0
Accepted
Dimiter Madjarov
Telerik team
answered on 22 Nov 2016, 08:39 AM

Hello Louise,

The "url" part of the saveUrl property does not have to be in upper case. Could you try renaming it and let me know if that resolves the problem:

http://docs.telerik.com/kendo-ui/api/javascript/ui/upload#configuration-async.saveUrl

Regards,
Dimiter Madjarov
Telerik by Progress
Kendo UI is ready for Visual Studio 2017 RC! Learn more.
0
Louise
Top achievements
Rank 1
answered on 23 Nov 2016, 02:20 AM
Thanks. The uppercasing was the one causing the problem
Tags
Upload
Asked by
Louise
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Louise
Top achievements
Rank 1
Share this question
or