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

  • Thread starter Thread starter jobs
  • Start date Start date
J

jobs

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.
 
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.

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
 
Back
Top