Unplanned
Last Updated: 13 Sep 2023 08:58 by ADMIN
ASM
Created on: 13 Sep 2023 08:49
Category: TextBoxControl
Type: Bug Report
0
RadTextBoxControl: AutoCompleteDropDown height is not calculated correctly in Fluent theme when MaxDropDownItemCount property is set

In this case, we are setting the MaxDropDownItemCount property to 3. When the AutoCompleteDropDown popup is shown, only 2 items are completely visible. The Height of the dropdown is not correctly calculated and does not respect the size of the sizing grip area which is 20 px in this theme.

As a workaround, we can manually change the height in the PopupOpened event:

this.radTextBoxControl1.TextBoxElement.AutoCompleteDropDown.PopupOpened += this.AutoCompleteDropDown_PopupOpened;

private void AutoCompleteDropDown_PopupOpened(object sender, EventArgs args)
{
    (this.radTextBoxControl1.TextBoxElement.AutoCompleteDropDown as RadTextBoxAutoCompleteDropDown).MinimumSize = new Size(264, 3*24+20);  
          
}

1 comment
ADMIN
Dinko | Tech Support Engineer
Posted on: 13 Sep 2023 08:58

Hi Armand SM,

Thank you for bringing this to our attention.

Regards,
Dinko | 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.