Declined
Last Updated: 24 Jan 2022 15:15 by ADMIN
Jstemper
Created on: 21 Jan 2022 22:51
Category: UI for Blazor
Type: Bug Report
1
PopupHeight in DropDownList no longer works after upgrade to 3.0

PopupHeight is no longer a valid property.

1 comment
ADMIN
Apostolos
Posted on: 24 Jan 2022 15:15

Hello John,

There are breaking changes in the 3.0 release regarding the PopupHeight attribute.

All the popup settings are now available through a nested tag. Use the code snippet below as a reference to change the height of the DropDownList:

<TelerikDropDownList Data="@myDdlData" TextField="MyTextField" ValueField="MyValueField" @bind-Value="selectedValue">
   <DropDownListSettings>
      <DropDownListPopupSettings Height="500px" />
   </DropDownListSettings>
</TelerikDropDownList>

@code {
public class MyDdlModel
   {
      public int MyValueField { get; set; }
      public string MyTextField { get; set; }
   }
int selectedValue { get; set; }
IEnumerable<MyDdlModel> myDdlData = Enumerable.Range(1, 20).Select(x => new 
MyDdlModel { MyTextField = "item " + x, MyValueField = x });
}

I am now marking this Bug Report as declined as this is the expected behavior of the component after the 3.0 release.

Regards,
Apostolos
Progress Telerik

Learn about the important changes coming in UI for Blazor 3.0 in January 2022!