Couple of questions.
1. for some reason the kendo-window appears next to the button. How do you centered the kendo-window (like the kendo-dialogue).
2. How to maximized the kendo-window (cover the entire screen, I'm not asking how to expand the kendo-window content) on load?
Thanks,
Bryian Tan
8 Answers, 1 is accepted
Unless specified otherwise, the Window will be opened in the center of the page. You could check this on the demo page. If that is not the case, could you provide further details on the exact setup, so I could assist further?
Regarding the second question, you could achieve this by initially setting the state property of the Window to 'maximized'.
I am looking forward to hearing from you.
Regards,
Dimiter Madjarov
Progress Telerik

#1. I have to check again
#2. I had set the maximized property describe, but all it did was maximizing the content not maximizing the kendo-window to fit the client screen size.
You are correct about the behavior when the state is initially set as 'maximized'. I have logged this in our issue tracker. You could follow it here.
Let me know if could still assist with the first problem.
Regards,
Dimiter Madjarov
Progress Telerik

Dear Support,
Point 2 doesn't seem to got fixed even thought it is marked as fixed in Github (I'm using latest version of Kendo in Angular8). Setting kendo window's initial state to maximized doesn't work and this behavior is important and well needed. Please advice for a workaround or a solution.
Thanks
Hi Stefanos,
I was unable to reproduce the problem on our end. Here is the example that I used for testing:
https://stackblitz.com/edit/angular-sko8ps?file=app/app.component.ts
Please review it and let me know if I am missing something.
Regards,
Dimiter Madjarov
Progress Telerik

Dear Dimiter,
Sorry for the late reply, indeed with that way in your example it works like a harm (by using a string directly in the view), but by using a variable like in telerik's examples it doens't work; like the following:
public windowState: WindowState = 'maximized';
<kendo-window *ngIf="windowOpened" [state]="windowState">
Hello Stefanos,
Here is the updated example with a property binding for the state input:
https://stackblitz.com/edit/angular-sko8ps?file=app/app.component.ts
It is working as expected on my end. Please update the stackblitz example if something is missing in order to replicate the problem.
Regards,
Dimiter Madjarov
Progress Telerik

Hey Dimiter,
Sorry I forgot to reply back then, yes I checked that and it was working fine!
Thank you!