ASP.Net dropdown list height

The height paramater below is having absolutely no effect.  

This list is populating with 31 days...and I need to limit the height of the dropdown to 200px or 10 items.

<asp:DropDownList ID="condoDays" runat="server" style="font-size: 11px" tabindex="3" height="10">
 </asp:DropDownList>
Larry Bristersr. DeveloperAsked:
Who is Participating?
 
jzierseCommented:
Unfortunately, it isn't possible to define the height of the default .Net ComboBox dropdown area.  If you must use a ComboBox with the parameters you specified, then you will either need to create your own custom control or use one created by someone else.

I did some searching and found the following control made by Obout Inc. that will most likely fit your needs.

Download: http://www.obout.com/inc/download.aspx
About the control: http://www.obout.com/combobox/
How to add to your project: http://www.obout.com/inc/tu_add_component.aspx

0
 
riyaz8expertsCommented:
how can we do it without using 3 rd party controls?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.