Need to fix Dropdown height to get scrollbar

V

Vishav

Hi all,

I am having a dropdownlist on a popup window that has around 150 items, when
selected the list goes out of the popup window.
Can somebody help me to fix the height of the dropdownlist so that I can
restrict it to show 50 items and let user scroll down the list to view the
rest.

Thanks in advance.
 
G

Guest

Hi all,

I am having a dropdownlist on a popup window that has around 150 items, when
selected the list goes out of the popup window.
Can somebody help me to fix the height of the dropdownlist so that I can
restrict it to show 50 items and let user scroll down the list to view the
rest.

Thanks in advance.

As there is no standard way to set this and a list with 150 items is
too long, I would suggest a custom "control" built from a list, image
and floating div like the one below

http://aspalliance.com/541_Multiple_Column_DropDown_Box_for_ASPNET

You can either use ListBox or Gridview to show items.
 

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,744
Messages
2,569,483
Members
44,901
Latest member
Noble71S45

Latest Threads

Top