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

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

Masudur

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top