Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Limit the height of a ASP.Net drop down list
Message
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Limit the height of a ASP.Net drop down list
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01249740
Message ID:
01249740
Views:
514
I have a situation where a part of a dropdownlist (in ASP.Net) is off the screen.

How can I limit the number of items in a ASP.Net drop down list or how can I set the Maximum height?

I don't want to limit the number of total items in my list. I want to reduce the height of the combo. Currently, when it is opening, it shows about 20 items. I would like to limit it to about 12 because on some screen (depending on the user screen resolution), a portion of the drop down is off the screen and is not visible.
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Reply
Map
View

Click here to load this message in the networking platform