.NET Core DropDownList SelectListItemBuilder's HtmlAttributes property GONE ??

1 Answer 94 Views
DropDownList
Chris
Top achievements
Rank 1
Veteran
Iron
Iron
Chris asked on 11 Aug 2022, 09:43 AM

HI

The SelectListItemBuilder's HtmlAttributes property of DropDownList was gone, WHY ???

namespace Kendo.Mvc.UI.Fluent
{
 public class SelectListItemBuilder : IHideObjectMembers
 {

Everyone needs HtmlAttributes property.


*Kendo.Mvc, Version=2021.3.1207.0。
(telerik.ui.for.aspnet.core\2021.3.1207\lib\net6.0\Kendo.Mvc.dll)

Best regards

Chris

 

 

1 Answer, 1 is accepted

Sort by
0
Mihaela
Telerik team
answered on 16 Aug 2022, 08:52 AM

Hello Chris,

At this stage, the SelectListItemBuilder class does not provide the HtmlAttributes property.  However, I have logged it as a feature request in our Feedback portal on your behalf. You can follow the status here:

https://feedback.telerik.com/aspnet-core-ui/1576290-add-htmlattributes-option-in-selectlistitembuilder-class

While a built-in property is provided, you can use the Template() method to customize the DropDownList items.

Regards, Mihaela Progress Telerik

The Premier Dev Conference is back! 

Coming to you live from Progress360 in-person or on your own time, DevReach for all. Register Today.


Tags
DropDownList
Asked by
Chris
Top achievements
Rank 1
Veteran
Iron
Iron
Answers by
Mihaela
Telerik team
Share this question
or