Completed
Last Updated: 12 Oct 2022 07:26 by ADMIN
Release 3.7.0 (09 Nov 2022)
Jerome
Created on: 14 Feb 2022 16:21
Category: Window
Type: Bug Report
1
Setting state causes issues with the Window position

<TelerikWindow Width="80%" Height="auto" Top="404px" State="WindowState.Minimized" Left="200px" Class="myClass" Visible="true" ><WindowTitle>My Title</WindowTitle><WindowActions><WindowAction Name="Minimize"></WindowAction></WindowActions><WindowContent><h1>My Content</h1></WindowContent></TelerikWindow>

 

Window starts out minimized, with proper width, height, top and left.

Clicking maximize button clears the top and left property, and resets position every time you open/close.

  • Click/dragging to move the window will reapply top/left property, and then maximize/minimize works properly.

 

If you change the state to to WindowState.Maximized, it has the correct top/left property, but resets the width/height properties.

Window is not draggable.

 

Not setting the State at all is the only way to have proper behavior.


1 comment
ADMIN
Nadezhda Tacheva
Posted on: 21 Feb 2022 13:11

Hello Jeremy,

Thank you for reaching out!

Indeed, when programmatically setting the desired Window state, the properties controlling its position are overridden. I've marked this item as "Unplanned" indicating it is a valid bug not scheduled for implementation yet. As creator of the post, you are automatically subscribed and will receive email notifications on status changes - this is the best way to keep track with its progress. I also added a vote on your behalf as we are tracking the demand to prioritize the bug fixes.

Last but not least, as a small token of appreciation for reporting this behavior, I have rewarded your account with some Telerik points.

Regards,
Nadezhda Tacheva
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.