Hey guys,
i am trying to set the url of a window, but everytime the url is shown as text instead if the content from url. Any hints for me?
e.preventDefault();
var
dataItem =
this
.dataItem($(e.currentTarget).closest(\
"tr\"
));
var
wnd = $(
"#window").data("kendoWindow"
);
wnd.content(
"./window.php?id="
+ dataItem.ID);
wnd.open().center().toFront();
Window is created by php...
$window
=
new
\Kendo\UI\Window(
'window'
);
$window
->title(
'Object Details'
)
->visible(false)
->modal(true)
->content(
array
(
"url"
=>
"./window.php"
))
->resizable(true)
->width(300)
->height(300);
echo
$window
->render();
Regards
Chris