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. 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. zdrakec
    Replies:
    0
    Views:
    537
    zdrakec
    Jul 22, 2005
  2. zdrakec
    Replies:
    0
    Views:
    479
    zdrakec
    Jul 22, 2005
  3. Stian
    Replies:
    2
    Views:
    480
    Mark Parnell
    Sep 3, 2004
  4. Stian
    Replies:
    2
    Views:
    173
    Bob Barrows [MVP]
    Sep 2, 2004
  5. Paul
    Replies:
    29
    Views:
    461
Loading...

Share This Page