Hi,
I am migrating my application from MVC Extensions to Kendo. I have a Combobox whose width (in the closed state) is 250px. But when it is open, the width of the dropdown is 400px. Please have a look at the attached screenshot.
I achieve it with something like
When I migrate it to Kendo, I couldn't find an equivalent to have a DropDownHtmlAttributes for customizing the width. Any idea how I can achieve this effect ?
Thanks & Regards
Achilles
I am migrating my application from MVC Extensions to Kendo. I have a Combobox whose width (in the closed state) is 250px. But when it is open, the width of the dropdown is 400px. Please have a look at the attached screenshot.
I achieve it with something like
@(Html.Telerik().ComboBox().Name("CbPlants")
...
...
.HtmlAttributes(new { style = "z-index: 20; width: 250px;" })
.DropDownHtmlAttributes(new { style = "width: 400px;" })
)
When I migrate it to Kendo, I couldn't find an equivalent to have a DropDownHtmlAttributes for customizing the width. Any idea how I can achieve this effect ?
Thanks & Regards
Achilles