LoadPostData and html <select> with multiple selections

Discussion in 'ASP .Net Building Controls' started by studen771, Sep 22, 2006.

  1. studen771

    studen771 Guest

    Thanks in advance to anyone else who can help :)

    I've got a custom control that contains a PLAIN HTML <select> element that
    allows multiple selections (NOT A asp.net listbox, listcontrol or
    derivatives, etc.)
    Within the LoadPostData method I'm trying to retrieve the values that were
    chosen from the <select> element, yet the NameValueCollection parameter that
    this method passes only allows for single strings, NOT collections..(at least
    to my understanding up to this point)

    How is it possible for me to retrieve the items selected out of my <select>
    html element in the LoadPostData method when its second parameter
    (NameValueCollection xxx) only accepts strings?
     
    studen771, Sep 22, 2006
    #1
    1. Advertisements

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. bill yeager

    multiple listbox selections

    bill yeager, Aug 12, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    587
    bill yeager
    Aug 12, 2003
  2. zdrakec
    Replies:
    0
    Views:
    603
    zdrakec
    Jul 22, 2005
  3. zdrakec
    Replies:
    0
    Views:
    538
    zdrakec
    Jul 22, 2005
  4. Stian
    Replies:
    2
    Views:
    611
    Mark Parnell
    Sep 3, 2004
  5. Stian
    Replies:
    2
    Views:
    280
    Bob Barrows [MVP]
    Sep 2, 2004
  6. Paul
    Replies:
    29
    Views:
    725
  7. palmiere
    Replies:
    1
    Views:
    697
    Erwin Moller
    Feb 9, 2004
  8. Replies:
    1
    Views:
    183
Loading...