Multiple columns in a List Box

Discussion in 'ASP .Net Web Controls' started by Srinivasa Rao, Feb 9, 2005.

  1. I am trying to create a list box which has two columns seperated by a
    vertical line. When i select an item in the first column, it should only
    select the item in the first column and not the item in the second column.
    How can i create a list box like this? I have gone through the properties of
    list box. It does not have any multiplecolumns property like in windows
    applications.

    Any help mostly welcome.

    Regards
    G.V.Srinivasa Rao.
     
    Srinivasa Rao, Feb 9, 2005
    #1
    1. Advertising

  2. I don't think that functionality is available in listboxes in HTML.

    "Srinivasa Rao" <> wrote in message
    news:...
    >I am trying to create a list box which has two columns seperated by a
    > vertical line. When i select an item in the first column, it should only
    > select the item in the first column and not the item in the second column.
    > How can i create a list box like this? I have gone through the properties
    > of
    > list box. It does not have any multiplecolumns property like in windows
    > applications.
    >
    > Any help mostly welcome.
    >
    > Regards
    > G.V.Srinivasa Rao.
     
    Ken Cox [Microsoft MVP], Feb 10, 2005
    #2
    1. Advertising

  3. This sounds like you want to create the visual effect of a table.
    Populate it this way:
    <Table><th>Header Info (Optional)</th><tr>
    <td>column 1 material</td>
    <td>column 2 material</td>
    </tr></Table>
    Good Luck

    "Srinivasa Rao" <> wrote in message
    news:...
    > I am trying to create a list box which has two columns seperated by a
    > vertical line. When i select an item in the first column, it should only
    > select the item in the first column and not the item in the second column.
    > How can i create a list box like this? I have gone through the properties

    of
    > list box. It does not have any multiplecolumns property like in windows
    > applications.
    >
    > Any help mostly welcome.
    >
    > Regards
    > G.V.Srinivasa Rao.
     
    Chuck Insight, Feb 16, 2005
    #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. Replies:
    1
    Views:
    1,152
    David Wier
    Aug 5, 2005
  2. Neelu
    Replies:
    1
    Views:
    552
    TechBookReport
    Jan 10, 2006
  3. Gnarlodious
    Replies:
    4
    Views:
    17,610
    elizas
    May 5, 2010
  4. =?Utf-8?B?RGF2ZSBU?=

    Columns in Dropdown list and list box

    =?Utf-8?B?RGF2ZSBU?=, Jun 25, 2007, in forum: ASP .Net
    Replies:
    3
    Views:
    504
    jufemaiz: jc
    Jun 27, 2007
  5. palmiere
    Replies:
    1
    Views:
    412
    Erwin Moller
    Feb 9, 2004
Loading...

Share This Page