Window Breaking Change to Remove Centered Option

1 Answer 35 Views
Window
Scott
Top achievements
Rank 1
Scott asked on 21 May 2025, 01:38 PM | edited on 21 May 2025, 02:37 PM

Why did you remove the centered option in the window in place of Top and Left positions in 9.0.0?!  The programmer will now have to manually figure out the top/left corner location based on the browser size and the size of the window.  I have 20+ of your window controls and all of them are skewed out of the browser window when I set them to 50%, 50%.  This makes centering of a window a completely manual process and VERY difficult.

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 21 May 2025, 06:59 PM

Hello Scott,

To center the Window, simply set the Top and Left parameter values to an empty string at any time.

The Centered parameter did not work after the initial Window display. Removing the parameter actually made the component setup and management simpler. Otherwise the app should also reset Top and Left explicitly when setting Centered="true" programmatically.

Regards,
Dimo
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Scott
Top achievements
Rank 1
commented on 21 May 2025, 07:07 PM

Works great.  Thank you for the help and explanation.
Tags
Window
Asked by
Scott
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or