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

PopupHeight is no longer a valid property.

1 comment
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">
      <DropDownListPopupSettings Height="500px" />

@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.

Progress Telerik

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