![]() |
|
|
|
#1 |
|
Hi Everyone,
i have a simple question: how can i make the dropdownlist appear only 3 items at one with scroll & doesent extend all over the page if there is many items in it? Thx in advance Mariame |
|
|
|
|
#2 |
|
Posts: n/a
|
ASP.Net is all about HTML. It generates HTML documents. An HTML form has
HTML elements in it, all of which are defined by a set of standards, and all of which can only behave a certain pre-defined way. An HTML "select" object (drop-down list box) can be as many rows high as you want it to be. Just set the "size" attribute. However, the size of the select object when expand it is not configurable. It will expand to the number of items in the list. The only way to get the behavior you're describing is by using a client-side executable, such as an ActiveX control or Java applet. -- HTH, Kevin Spencer ..Net Developer Microsoft MVP Big things are made up of lots of little things. "Mariame" <> wrote in message news:#DC9#... > Hi Everyone, > i have a simple question: how can i make the dropdownlist appear only 3 > items at one with scroll & doesent extend all over the page if there is many > items in it? > > Thx in advance > > Kevin Spencer |
|
|
|
#3 |
|
Posts: n/a
|
Kevin Spencer wrote:
> ASP.Net is all about HTML. It generates HTML documents. An HTML form > has HTML elements in it, all of which are defined by a set of > standards, and all of which can only behave a certain pre-defined > way. An HTML "select" object (drop-down list box) can be as many rows > high as you want it to be. Just set the "size" attribute. However, > the size of the select object when expand it is not configurable. It > will expand to the number of items in the list. > > The only way to get the behavior you're describing is by using a > client-side executable, such as an ActiveX control or Java applet. Can't this be done by going into the html page and adding overflow: auto; to the style tag? James James Thomas |
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Memorabilia rare items The Carpenters Karen Carpenter | JJP | DVD Video | 1 | 11-20-2007 01:13 PM |
| dynamic validations for checkboxlist and dropdownlist | mrugesh_dulera | Software | 0 | 06-26-2007 01:56 AM |
| DropdownList in gridview | visj4u | Software | 0 | 04-27-2007 01:11 PM |
| Done After 9 Years of Selling on EBay | gojody | DVD Video | 5 | 03-27-2007 04:17 PM |
| AUCTION: Many Rare Items - incl. DVDs. NO RESERVES! All End Soon! | UniqueGuyinPgh | DVD Video | 0 | 08-07-2003 11:57 PM |