Drop Down List and Postback
I'm experiencing a problem with an app, and I'm not sure what I'm missing.
My app has two drop down lists. The second is populated depending on what
selection is made with the first.
The selected values of each box are then sent to a string, and this information is placed in an email message.
The problem is that the selected values of the form are not being retained when submitting the form. The only information that is being passed into the variables is the first item of each box. I'm sure this is related to postback, but I can't seem to find the problem. Any ideas?
Re: Drop Down List and Postback
ASP.NET questions are better posted in the ASP.NET forum, unless they relate specifically to the VB.NET language.
Re: Drop Down List and Postback
This app is written in vb.net.
Re: Drop Down List and Postback
Quote:
Originally Posted by hersheysc
This app is written in vb.net.
You should probably pay attention to what jmcilhinney is saying. For a couple of reasons. 1) There is a forum specifically for ASP.Net questions and I really do think you'd get some better help there. 2) jmcilhinney is a .NET GURU and I suggest you do everything you can to remain in good graces with him as he probably can provide a very good answer to 99% of the questions submitted to this forum.
Hey jmcilhinney! :wave: (suckin' up) :blush:
Seriously, post this Q on the ASP forum along with some code and you'll probably have some pretty good luck getting it answered.
Also, It is hard to determine exactly what you're saying. Are you selecting multiple items from a dropdown box and then sending each item to a string. Then emailing the string? What type of dropdown box are you using? An HTML box or one of the controls provided by MS. - Include that too.
Re: Drop Down List and Postback
Sorry...I didn't mean any disrespect...so I hope he'll accept my apologies.
I can post over to the asp.net forum....I'm new here, and didn't know.
Follow the post there, and I'll try to give some more info on the problem.