Last Updated: 16 Jul 2019 10:05 by ADMIN
Created on: 11 Jul 2019 15:25
Category: Popup
Type: Feature Request
Popup: Provide a straightforward way to center the control on the screen

Provide an easy way to position the popup in the center of the screen in a MVVM-friendly manner. 

Consider the case when the target is a view that carries information about the popup and cannot be the page.

Posted on: 16 Jul 2019 10:05
Hi John,

The provided link is to the private support ticket in Telerik Account and is not available to the community.

In short, currently RadPopup control could be centered according to the Page/View it resides in.  In the case when it is located in a ContentView that takes only part of the Page, in order to center it you would need to get the ContentView's position as well as Page Width and Height and calculate Popup's HorizontalOffset and VerticalOffset properties.

The feature request is to provide an easier way to open the popup in the center of the screen without the need to calculate offset values.

Progress Telerik
Posted on: 11 Jul 2019 15:42

More details about this feature request and possible solutions can be gleaned from the support ticket located here.