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

How to set successfull status for Kendo Upload?

2 Answers 306 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Enzo
Top achievements
Rank 1
Enzo asked on 04 Nov 2014, 09:55 AM
Dear Sir/Madam,

I have a problem with Kendo Upload as below:
1. Call aspx file
$("#filUpload").kendoUpload({
        async: {
            saveUrl: "/_QISSI/import/upload.aspx",
            removeUrl: "remove",
            autoUpload: true,
            success: fFile_onSuccess,
            multible: false
        }
    });

2. In Page_Load method, I saved the uploaded file but I don't how to set successful status for Kendo Upload.

Please give me some document relating to the problem.

Thanks and best regards,

2 Answers, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 06 Nov 2014, 09:48 AM
Hi Enzo,


Take a look at the following documentation page which describes the possible values that should be returned by the save handler to signify success - an empty response or a JSON with mime type "text/plain". Any other response will be treated as failure.

Regards,
Dimiter Madjarov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Enzo
Top achievements
Rank 1
answered on 06 Nov 2014, 10:05 AM
Hi Dimiter Madjarov,

Thank for your response and I will take a look on this document.

Regards,
Enzo
Tags
Upload
Asked by
Enzo
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Enzo
Top achievements
Rank 1
Share this question
or