Dropdown list

Discussion in 'ASP General' started by Tapiwa JONGWE, Sep 17, 2003.

  1. I would like to display 15 items (lines) in the dropdown list, but by
    default the list displays only 11 lines. How can I have all the 15 items
    displayed in my dropdown list ?

    Thanks for your help.
    Tapiwa JONGWE, Sep 17, 2003
    #1
    1. Advertising

  2. Not really an asp question but in the select tag put 'size="15"'.

    If it is ASP related and you are dragging the values out of a db/array, then
    you could have the logic :-

    If array length => 15 then
    Size = 15
    else
    Size = array length
    End if

    Otherwise you'd have loads of empty cells in the drop down.

    Hope that helps

    Stu

    "Tapiwa JONGWE" <> wrote in message
    news:u#...
    > I would like to display 15 items (lines) in the dropdown list, but by
    > default the list displays only 11 lines. How can I have all the 15 items
    > displayed in my dropdown list ?
    >
    > Thanks for your help.
    >
    >
    Stuart Palmer, Sep 17, 2003
    #2
    1. Advertising

  3. Tapiwa JONGWE

    Ray at home Guest

    I'd say that's just the nature of the browser. Perhaps it would be
    different in a higher resolution.

    You could use a listbox style select.
    <select size=20>

    Ray at home

    "Tapiwa JONGWE" <> wrote in message
    news:u#...
    > I would like to display 15 items (lines) in the dropdown list, but by
    > default the list displays only 11 lines. How can I have all the 15 items
    > displayed in my dropdown list ?
    >
    > Thanks for your help.
    >
    >
    Ray at home, Sep 17, 2003
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. vishnu
    Replies:
    1
    Views:
    1,191
    Patrick.O.Ige
    Mar 25, 2006
  2. Mike
    Replies:
    1
    Views:
    796
  3. acadam
    Replies:
    0
    Views:
    751
    acadam
    Dec 27, 2006
  4. Replies:
    2
    Views:
    430
  5. Steve Myers
    Replies:
    2
    Views:
    266
    Steve Myers
    Nov 20, 2003
Loading...

Share This Page