Find element in refresh or activate event

2 posts, 0 answers
  1. Robert Madrian
    Robert Madrian avatar
    193 posts
    Member since:
    Apr 2003

    Posted 18 Jan 2017 Link to this post


    I'm creating an Kendo window with JavaScript and want to set the window title with a value from a Control from the
    loaded Content in the refresh or activate Event - how to access Elements of the window Content?


    $("<div id='win" + name + "' />").appendTo(document.body).kendoWindow({
            title: stitle,
            actions: ["Close"],
            draggable: false,
            resizable: false,
            modal: true,
            animation: {
                open: {
                    effects: "slideIn:left",
                    duration: 500
                close: {
                    effects: "slideIn:left",
                    reverse: true,
                    duration: 500
            visible: false,
            pinned: false,
            content: { url: surl, iframe: false },
            refresh: function (e) {
            activate: function(e) {
            deactivate: function (e) {
        var window = $(windowname).data("kendoWindow");
  2. Ianko
    Ianko avatar
    1755 posts

    Posted 20 Jan 2017 Link to this post

    Hello Robert,

    You can use the content method to get the DOM contents of the Kendo Window. And to change the title of the widget you can use the title method.

    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top