DropDownList problem/doubt
Posted
by SlimBoy
on Stack Overflow
See other posts from Stack Overflow
or by SlimBoy
Published on 2010-04-01T15:04:31Z
Indexed on
2010/04/01
15:13 UTC
Read the original article
Hit count: 362
Hi everybody!!
I have one dropdownlist like this bellow.. the problem is that if I have more than 30 ListItem the list will have 30 elements/rows display and the rest to scroll. Is there a way to show only 10 elements and scroll the rest? I read in some pages that this is not possible. Is that true?
<asp:DropDownList ID="id" runat="server">
<asp:ListItem Text="A" Value="AA" Enabled="true"></asp:ListItem>
<asp:ListItem Text="B" Value="AA" Enabled="true"></asp:ListItem>
.
.
.
<asp:ListItem Text="D" Value="AA" Enabled="true"></asp:ListItem>
</asp:DropDownList>
© Stack Overflow or respective owner