Unplanned
Last Updated: 30 Mar 2016 10:05 by ADMIN
ADMIN
Dimitar
Created on: 01 Sep 2015 10:02
Category: Editors
Type: Bug Report
0
FIX. RadPopupEditor - the HorizontalPopupAlignment cannot be set.
To reproduce:
- Try to set the  alignment:
radPopupEditor1.PopupEditorElement.PopupContainerForm.HorizontalPopupAlignment = HorizontalPopupAlignment.RightToRight;
radPopupEditor1.Popup.HorizontalPopupAlignment = HorizontalPopupAlignment.RightToRight;

- The property is reset when the popup is opened.

Workaround:
void radPopupEditor1_PopupOpening(object sender, CancelEventArgs e)
{
    RadPopupOpeningEventArgs args = e as RadPopupOpeningEventArgs;
    int width = radPopupContainer1.Width;

    args.CustomLocation = new Point(args.CustomLocation.X - width + radPopupEditor1.Width, args.CustomLocation.Y);
}
0 comments