ASP.Net dropdown list height

Posted on 2009-02-13
Last Modified: 2013-11-26
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">
Question by:lrbrister
    LVL 1

    Accepted Solution

    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.

    About the control:
    How to add to your project:


    Expert Comment

    how can we do it without using 3 rd party controls?

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    In my previous article ( we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
    Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
    This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA.…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now