1
我有一個像這樣的下拉列表下拉列表..問題是,如果我有超過30個ListItem列表將有30個元素/行顯示,其餘滾動。有沒有辦法只顯示10個元素,並滾動其餘的?我在一些頁面閱讀,這是不可能的。真的嗎?DropDownList問題/疑問
<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>