This question is locked. New answers and comments are not allowed.
Hello,
When testing the following codes:
====
<% Html.BeginForm("Save", "Home"); %>
<%= Html.Telerik().DropDownList()
.Name("productID")
.HtmlAttributes(new {name = "productID"})
.Items(item =>
{
item.Add().Text("").Value("0").Selected(true);
item.Add().Text("Chai").Value("1");
item.Add().Text("Chang").Value("2");
item.Add().Text("Tofu").Value("3");
})
%>
<% Html.EndForm(); %>
====
The height of the drop-down window shrinks. It seems the first item "blank" is causing the issue. Is there any plan to fix this?
Thank you!
When testing the following codes:
====
<% Html.BeginForm("Save", "Home"); %>
<%= Html.Telerik().DropDownList()
.Name("productID")
.HtmlAttributes(new {name = "productID"})
.Items(item =>
{
item.Add().Text("").Value("0").Selected(true);
item.Add().Text("Chai").Value("1");
item.Add().Text("Chang").Value("2");
item.Add().Text("Tofu").Value("3");
})
%>
<% Html.EndForm(); %>
====
The height of the drop-down window shrinks. It seems the first item "blank" is causing the issue. Is there any plan to fix this?
Thank you!