New to Kendo UI for jQuery? Download free 30-day trial

Post to the Iframe Content of the Window


Product Progress Kendo UI Window for jQuery
Operating System Windows 10 64bit
Visual Studio version Visual Studio 2017
Preferred Language JavaScript


How can I post to the iframe content of the Kendo UI Window?


The example below demonstrates how to achieve the desired scenario.

    <button id="refresh">Post content to iframe</button>
        click:function(e) {
          var id = "target_iframe";
          var dialog = $("<div><iframe class='k-content-frame' name='" + id + "'></div>").kendoWindow({
            width: "615px",
            title: "Posting to iframe example",
            close: function() { this.destroy() },
            iframe: true
          $("<form />", {
            action: "",
            method: "post",
            target: id
          // add any data
            .append("<input name='foo' />").find("[name=foo]").val("bar").end()

See Also

In this article