Groups | Blog | Home
all groups > asp.net > july 2007 >

asp.net : asp.net 2.0 DropDownList limit number of size/ rows / height issue?


jobs
7/14/2007 7:05:14 PM
I've tried setting the height of the dropdownlist, but when I do that
it eats of space below . Basically, I only want about 10 rows visible
and scrolling to then show up if there are more rows. But I want space
below the dropdown to be available by other controls while the
dropdown is not selected.
Masudur
7/15/2007 12:00:00 AM
[quoted text, click to view]

Hi...


dropdown list eventually rendered in browser as html select... html
select does not support the requirements you are asking...:(
1. I want to limit the dropbox to show only a defiend number of item
and then scroll...
2. height of the dropbox of the dropdown will be customizable...

you got to write a custom control for that...

here is a example of custom dropdown...
http://aspalliance.com/541_Multiple_Column_DropDown_Box_for_ASPNET


Thanks
Md. Masudur Rahman (Munna)
kaz Software Ltd.
www.kaz.com.bd
http://munnacs.110mb.com
AddThis Social Bookmark Button