ai.aiAssistantWindow.content.iframeBoolean
If the URL for the AI Assistant Window content contains a protocol, the AI Assistant Window creates an iframe for the content and assumes that the nested page resides in another domain.
If the URL does not contain a protocol, the URL is treated as a local URL which will load a partial view and the AI Assistant Window does not create an iframe for the content.
To control the creation of iframe AI Assistant Window content, you have to explicitly configure the option.
Example - Explicitly configure an iframe
<div id="grid"></div>
<script>
$("#grid").kendoGrid({
columns: [{ field: "name" }],
dataSource: [{ name: "Jane Doe" }],
toolbar: ["aiAssistant"],
ai: {
aiAssistantWindow: {
content: {
url: "https://demos.telerik.com/kendo-ui/content/shared/js/products.js",
dataType: "json",
iframe: true
}
}
}
});
</script>
In this article