Hi,
I was using the slide-in transition suggested here(https://docs.telerik.com/kendo-ui/controls/layout/window/how-to/window-as-sliding-pane#use-windows-as-sliding-panes) to change the existing windows to slide-in panes.
the example given in the link works perfectly for the latest version of kendo.(KENDO UI 2021-R1-SP1)
https://dojo.telerik.com/ODAwIMef
but if we change the version in the same dojo example to (KENDO UI 2020-R3-SP2), it doesnt work as expected, it doesnt slide-in, it doesnt show the close icon etc.
can you please help with this?
On the documentation of the "close" event, you say that the the event is raised AFTER the animation is over.
"// the closing animation has finished"
So, it's too late to stop it.
But, in fact, it occurs "before", and we can call e.preventDefault(), to abort it.
https://docs.telerik.com/kendo-ui/api/javascript/ui/window/events/close
hello
i try load view in kendowindow and it works on development but when deploy project on the server and then open kendowindow with view in content in production on iis, first open empty kendowindow and then as soon as possible whole browser became white and empty, even view content is just a div with short text.
this is my code
var window = $("#" + dialogName).kendoWindow({
content: {
url: "Security/Users",
dataType: "html"
},
title: name,
position: {
top: topOffset,
left:leftOffset
},
//width: 700,
//height: 400,
size: dialogSize,
actions: ["Refresh", "Minimize", "Maximize", "Close"],
animation: {
open: {
effects: "fade:in"
},
close: {
effects: "fade:out"
}
},
modal: false,
close: function (e) {
},
open: function (e) {
e.preventDefault();
closeDrawer();
}
}).open().center();
first and second images are from development environment and everything is ok, third image is from production environment and has bug.
Hi,
On my page i have two kendo dialog window and both are having the same div class and trying to close the window using following code
window.parent.$('.k-window-content.k-content.k-window-iframecontent').data('kendoWindow').close();
But above code only close the first window not the second one. I want to close the second window.
NOTE:window.parent.$('.k-window-content.k-content.k-window-iframecontent').length;
above code returns
returns 2.
How can i close the second window instead of first one?
Kindly suggest.
<script type="text/javascript"> $(document).ready(function () { $('#windows').css('z-index', 9000); $("#Payment").kendoWindow({ actions: [ "Maximize", "Minimize", "Close"], draggable: true, height: "600px", modal: false, resizable: true, title: "<%=ViewData("paymentenginetext")%><%= ViewData("invoicenr")%>", width: "810px" }); var kendoWindow = $("#Payment").data("kendoWindow"); kendoWindow.center(); }); </script>
Hello,
I am using multiple instances of a kendo window in a vue component where user can click on any item to get more details in a kendo window. The user can view multiple item details at a time. I need to implement a feature where user can Minimize, Restore, Drag or Close actions on any of the open window.
To save screen space I need the ability to dock the windows to either on bottom or top corner of the screen when minimize event is triggered and on restore it should move back to its original position, I expect the window to move similar to code in https://github.com/ROMB/jquery-dialogextend in kendo window widget.
Example: http://romb.github.io/jquery-dialogextend/example.html
Please can you help
Kind regards
Hammy Babar