开发者

Scroll Bar in DropDownList IN ASP.NET

I am binding a DropDownList with the DataTable from the BackEnd. If the DataTable contains more va开发者_运维百科lue then while selecting the DropDownList it looks very lengthy and it looks not good. Is there a way to use ScrollBar in DropDownList?


There's no built-in way to do that with the DropDownList control. One option would be to build a custom control that would do this.

Try googling for DropDownList adding scroll bars. adding scrollbar to dropdownlist has a discussion about ways to do that.

Here's a search on MSDN - DropDownList scroll bars


hi check out the post will allow to control the element display by drop downlist :

DropDownList (html select) vertical scrollbar – number of items

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜