Hi Mark,
Thank you for the update.
By default, PopupControlContainer will show above when the space is not enough in below the parent control. I have attached video file to demonstrate the behavior.
http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=TestVideo-1643842987.zipBelow code is used to show the popupcontrolcontainer below when not enough space in above control(Previous provided sample).
this.popupControlContainer1.ParentControl = this.sourceTextBox;
Point loc = this.popupControlContainer1.ParentControl.Location;
loc.Y -= this.popupControlContainer1.Height;
if (Screen.PrimaryScreen.Bounds.Contains(this.popupControlContainer1.ParentControl.PointToScreen(loc)))
{
this.popupControlContainer1.ShowPopup(this.popupControlContainer1.ParentControl.Parent.PointToScreen(loc));
}
else
{
this.popupControlContainer1.ShowPopup(Point.Empty);
}
Please let me know if you have any queries. Thanks for providing additional information any.
Regards,
Lingaraj S.