开发者

Scroll Bar in DropDownList IN ASP.NET

开发者 https://www.devze.com 2023-03-24 03:57 出处:网络
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.

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

精彩评论

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

关注公众号