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

Open Window and preload data

1 Answer 139 Views
Window
This is a migrated thread and some comments may be shown as answers.
Neil
Top achievements
Rank 1
Neil asked on 18 Dec 2014, 03:52 PM
Hi,
I am upgrading from Telerik extensions. The code used to open a window and set the datasource for the grid on that page was:

function openTrainWind(trainID) {
            var window = $("#trainWindow").data("kendoWindow");
            window.ajaxRequest("/Trains/_Trains/", { _trainID: trainID });
            window.center().open();
        }

The code has been upgraded to work with Kendo but produces the error "Uncaught TypeError: undefined is not a function"
How would this code need to change to work with Kendo.

Thanks

1 Answer, 1 is accepted

Sort by
0
Neil
Top achievements
Rank 1
answered on 18 Dec 2014, 04:51 PM
Tags
Window
Asked by
Neil
Top achievements
Rank 1
Answers by
Neil
Top achievements
Rank 1
Share this question
or