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

upload files cant save in particular directory

0 Answers 92 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Kartik
Top achievements
Rank 1
Kartik asked on 18 Oct 2012, 03:10 PM
how to use kendo ui upload file in codegniter, simply i upload file in codigniter  but in add and edit form it cant work i mean it cant save in particular directory.

<input name="files" id="files" type="file" />

$(document).ready(function () {
$("#files").kendoUpload({
                async: {
                    saveUrl: "<?php  echo base_url(); ?>upload_plan_image",
                    removeUrl: 'remove.php',
                    autoUpload: true
                }
            });
 });


$("#grid").kendoGrid({
            dataSource: dataSource,
            pageable: true,
            height: 400,
            
            toolbar: [{name:"create",text:"Add new Plan"}],
            columns: [                          
                {field:"plan_img_file", title:"PlanImgFile"}, 
                {command: ["edit", "destroy"], title: "&nbsp;", width: "210px",title:"Action" }],     
            groupable:true,
            editable: {
                mode: "popup",           
                destroy: true,             
                confirmation: "Are you sure you want to remove this test member?"
            }
        });

No answers yet. Maybe you can help?

Tags
Upload
Asked by
Kartik
Top achievements
Rank 1
Share this question
or