Register  |  Login

Question Details    

   Question

Time: 10:43 - Apr 03, 2007     Asked by: dustPuppy      Status: Answered      Points: 50   

problem submitting listbox values in asp.net

Hi,

I have a listbox that is filled with items dynamically clientside through javascript.
when I submit the page, the listbox appears empty though.
First i thought i had to select all the values in the listbox, but even doing that, doesn't help.
Anybody know what the problem could be?

Ask a New Question

Become a Quomon Expert

Current Categories

 

Similar Questions


   

Answer Discussion
Answer Discussion
Answer Summaries
Answer Summary
 
The only solution I found was to read the values directly from the request, so I did it like this:

string[] items = this.Request.Form["listBox"].Split(',');

i don't like it, but it works for now.

Expert:

dustPuppy

Date:

Apr 11, 2007

Time:

23:43

 

Votes: Good (0) | Bad (0)
Login to rate this answer

Question Answered

This question has been answered, and points have been rewarded to the following experts:

dustPuppy: 50

You're welcome however to comment or give additional information or if you wish, you have the ability to write an Answer Summary for this question by clicking on the "Answer Summaries" Tab.

 
No summaries have been submitted yet. Want to be the first?



Respond to this question:

New User

  Email:

Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address

Registered User

Username:

Password:


Forgotten Password

 

New User

  Email:

Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address

Registered User

Username:

Password:


Forgotten Password
   

"Psst, Quomon is a great site. Pass it on."     Tell a Friend  |   Link To Us  |   Save to Delicious  |   Digg! Digg it


All Questions


Language Options

English:

www.quomon.com

Español:

www.quomon.es

Sponsors

Questions and Answers Software
Real Estate Postcards
Marketing Fulfillment