How can I access values in popup editor in CRUD ops

2 posts, 0 answers
  1. Michael
    Michael avatar
    23 posts
    Member since:
    Jan 2016

    Posted 15 Sep Link to this post

    Hi. In the standard Kendo Datasource usage with a scheduler (partial code), 

    dataSource: {
                            batch: true,
                            transport: {
                                read: {
                                    url: baseURL + "api/events",
                                    dataType: "jsonp",
                                    type: "GET",
                                    contentType: 'application/json; charset=utf-8'
                                },
                                update: {
                                    url: function (options) {
                                        var model = {
                                            taskId: 1,
                                            title: "test title",
                                            start: null,
                                            end: null,
                                            startTimezone: null,
                                            endTimezone: null,
                                            description: null,
                                            recurrenceRule: null,
                                            isAllDay: false
                                        };
    I'd like to be able to access the values from the popup editor and throw them in the model. See all the nulls as placeholders above...I know this isn't standard protocol of doing things but...I'm just wondering, can it be done, and how?

  2. Michael
    Michael avatar
    23 posts
    Member since:
    Jan 2016

    Posted 16 Sep in reply to Michael Link to this post

    Figured it out. Using the save event.
  3. Kendo UI is VS 2017 Ready
Back to Top