[RESOLVED] Drop Down Combo
So i'm fairly new to the web dev. been a forms programmer most of my career. I'm developing a web page. I have a drop down combo, and a button. When I click the button, I want to be able to get the selected text value of the combo. However, when I do this, it always gives me the first value and when the page "refreshes", the combo returns back to the first selected index.
I'm sure this is a dumb question, but like i said i'm new to the WEB portion of VB.
please help.
thanks.
Re: [RESOLVED] Drop Down Combo
Re: [RESOLVED] Drop Down Combo
Hello,
The crux of the problem that you were having is with regard to the ASP.Net Page Life Cycle, which is very different to how things work in Windows Forms Applications.
I would highly recommend that you take a look at the following:
http://msdn.microsoft.com/en-us/library/ms178472.aspx
And have a play with it. Set some breakpoints in each of the events that it mentions, and get a solid understanding on how it works.
Any questions, feel free to ask.
Gary