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

Update, Create and Destroy problems

0 Answers 90 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
corey
Top achievements
Rank 1
corey asked on 12 Aug 2013, 06:06 PM
Honestly i'm really confused on how this works.  I can get the scheduler to populate.  Im not sure how to make the edit and create work.. I can click on an appointment and then i just get a load screen. I know its because I don't exactly know what i am doing here.  I have to call my controller for the read update create and destroy.   Can anyone help me with the functions i would have to use.  In the demo it really does not explain how to make the update, create, and destroy work if you call an outside function. OH and im using the html version of kendo

                
dataSource: {
    batch: true,
    transport: {
        read: {
            url: "/Team/Calendar/PopulateCalendar/",
            dataType: "json",
            
        },
        update: {
            url: "/Team/Calendar/UpdateAppointment",
            dataType: "json"
        },
        create: {
            url: "/Team/Calendar/CreateAppointment",
            dataType: "jsonp"
        },
        destroy: {
            url: "http://demos.kendoui.com/service/tasks/destroy",
            dataType: "jsonp"
        },
I am honestly so confused on how to make the functions show the appointment view i understand on the save button to set the fields to the fields in my database but how can i make the appointment view show up.Sorry if this is a really dumb question im just so confused on this.

Thanks,
Corey

No answers yet. Maybe you can help?

Tags
Scheduler
Asked by
corey
Top achievements
Rank 1
Share this question
or