Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Building Controls > LoadPostData and html <select> with multiple selections

Thread Tools

LoadPostData and html <select> with multiple selections

Posts: n/a
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 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?
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple selections in dropdownlist Steffen Loringer ASP .Net 2 08-11-2005 09:55 AM
Multiple list boxes and controlling selections Javascript 1 01-27-2005 04:11 PM
Bind multiple selections to a query John Hoge ASP .Net 2 11-30-2004 10:12 PM
Obtaining Data Based Upon Multiple Selections From a ListBox... =?Utf-8?B?QWRpcw==?= ASP .Net 0 10-19-2004 01:29 PM
multiple listbox selections bill yeager ASP .Net 0 08-12-2003 08:38 PM