views:

792

answers:

1

In ASP.NET, a ListBox has a Rows attribute I can set to say how many rows to show. A DropDownList, though, doesn't. Is there any way I can set the maximum number of rows a DropDownList should display? Code? Markup? CSS?

+1  A: 

If you want that level of control, you are left to re-implement drop down lists in javascript. Kinda sucks.

Bryan Batchelder