This is a migrated thread and some comments may be shown as answers.

kendo-window -- centered or maximized windows

8 Answers 479 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Patrick
Top achievements
Rank 1
Patrick asked on 06 Apr 2018, 05:14 PM

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

Sort by
0
Dimiter Madjarov
Telerik team
answered on 09 Apr 2018, 01:33 PM
Hi Patrick,

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
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Patrick
Top achievements
Rank 1
answered on 10 Apr 2018, 01:48 PM

#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.

0
Dimiter Madjarov
Telerik team
answered on 10 Apr 2018, 02:18 PM
Hi Patrick,


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
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
n/a
Top achievements
Rank 1
answered on 22 Nov 2019, 05:26 PM

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

0
Dimiter Madjarov
Telerik team
answered on 25 Nov 2019, 02:37 PM

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

Get quickly onboarded and successful with your Telerik and Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
n/a
Top achievements
Rank 1
answered on 30 Nov 2019, 08:53 PM

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">

0
Dimiter Madjarov
Telerik team
answered on 02 Dec 2019, 11:34 AM

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

Get quickly onboarded and successful with your Telerik and Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
n/a
Top achievements
Rank 1
answered on 28 Apr 2020, 08:58 AM

Hey Dimiter,

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

Thank you!

Tags
General Discussions
Asked by
Patrick
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Patrick
Top achievements
Rank 1
n/a
Top achievements
Rank 1
Share this question
or