Open Window and preload data

2 posts, 0 answers
  1. Neil
    Neil avatar
    2 posts
    Member since:
    Feb 2014

    Posted 18 Dec 2014 Link to this post

    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
  2. Neil
    Neil avatar
    2 posts
    Member since:
    Feb 2014
  3. UI for ASP.NET MVC is VS 2017 Ready
Back to Top