Unplanned
Last Updated: 23 May 2025 07:50 by ADMIN
Bruce
Created on: 23 May 2025 07:42
Category: DropDownList
Type: Bug Report
0
RadDropDownList: Popup size is not correct when using DefaultItemsCountInDropDown
This happens when popup is opened for the first time. When I close the popup and reopen it again, the popup is now correctly trimmed to fit the 12 items. 
1 comment
ADMIN
Nadya | Tech Support Engineer
Posted on: 23 May 2025 07:50

Hello, Bruce,

Thank you for reporting this behavior.

You can use the following workaround:

protected override void OnShown(EventArgs e)
{
    base.OnShown(e);
    this.radDropDownList1.DropDownListElement.ShowPopup();
    this.radDropDownList1.DropDownListElement.Popup.Visible = false;
    this.radDropDownList1.DropDownListElement.ClosePopup();
}

Regards,
Nadya | Tech Support Engineer
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.