Window

Example

Razor
<kendo-window>
    <content></content>
    <draggable />
    <modal />
    <popup-animation></popup-animation>
    <window-title />
</kendo-window>

ChildTags

Attributes

AttributeTypeDescription
nameStringSets the name of the component.
actionsString[]The buttons for interacting with the window. Predefined array values are "Close", "Refresh", "Minimize", and "Maximize".
append-toStringThe element that the Window will be appended to.
as-moduleBoolean
auto-focusBooleanDetermines whether the Window will be focused automatically when opened. The property also influences the focus behavior when an already opened Window is clicked.
content-urlStringSpecifies a URL or request options that the window should load its content from.
draggableBooleanThe draggable settings of the window component.
has-client-componentBoolean
iframeBooleanExplicitly states whether a content iframe will be created. For more information, refer to the documentation on using iframes.
max-heightStringThe maximum height (in pixels) that may be achieved by resizing the Window.
max-widthStringThe maximum width (in pixels) that may be achieved by resizing the Window.
min-heightStringThe minimum height (in pixels) that may be achieved by resizing the Window.
is-in-client-templateBooleanWhen placing a Tag Helper within a Kendo Template, set the type to text/html and add the is-in-client-template="true" attribute.
on-activateStringTriggered when a Window has finished its opening animation.
on-closeStringTriggered when a Window is closed either by the user or through the close() method.
on-deactivateStringTriggered when a Window has finished its closing animation.
on-dragendStringTriggered when a Window has been moved by the user.
on-dragstartStringTriggered when the user starts to move the Window.
on-errorStringTriggered when an Ajax request for content fails.
deferredBooleanSuppress initialization script rendering. Note that this options should be used in conjunction with DeferredScripts method.
heightStringSpecifies the height of the Window.
min-widthStringThe minimum width (in pixels) that may be achieved by resizing the Window.
modalBooleanThe modal settings of the window component.
on-maximizeStringTriggered when the user maximizes the Window. Introduced in 2016.Q1.SP1.
on-minimizeStringTriggered when the user minimizes the Window. Introduced in 2016.Q1.SP1.
on-openStringTriggered when a Window is opened, that is, when the open() method is called.
on-refreshStringTriggered when the content of a Window has finished loading via Ajax, when the Window iframe has finished loading, or when the Refresh button has been clicked on a Window with static content.
on-resizeStringTriggered when the user resizes the Window.
on-restoreStringTriggered when the Window is restored to its previous state(maximized or minimized) by pressing the restore button, or when the restore() method is called.
pinnedBooleanSpecifies whether the Window will be pinned, that is, that it will not move together with the page content during scrolling.
position-leftStringSpecifies the initial left position of the window. Values can specify pixels, percentages, ems or other valid values.
position-topStringSpecifies the initial top position of the window. Values can specify pixels, percentages, ems or other valid values.
resizableBooleanEnables or disables the ability for users to resize a Window.
sanitize-idBoolean
script-attributesIDictionary<String,Object>
scrollableBooleanEnables (true) or disables (false) the scrolling of the Window contents.
sizeStringSets a predefined size to the Window. The width and height configuration options override the predefined size.The supported values are: auto; small; medium or large.
titleStringThe text in the window title bar. If false, the window will be displayed without a title bar. Note that this will prevent the window from being dragged, and the window titlebar buttons will not be shown.
visibleBooleanSpecifies whether the Window will be initially visible.
widthStringSpecifies the width of the Window.
In this article
ExampleChildTagsAttributes
Not finding the help you need?
Contact Support