Drop Down Lists (VB)

Phillh

Member
Joined
Apr 2, 2003
Messages
7
Location
Cirencester
Drop Down Lists

Hi...

Im using VB.Net on a web form how can I make a dropdownlist box run some code when I user makes a selection.

I have tried using the Dropdownlist_SelectedIndexChanged but it doesnt
work...do you need to then refresh the web page or something....?

Thanks

Phill
 
Did you write it using Visual Studio?

Either way, posting some code will get you a quick answer to your question, because everything should work fine on its own. You shouldnt have to force refresh the page.

.steve
 
Verify that the HTML code recognizes the eventhandler, and make sure the "Handles" tag is at the end of your sub. When cutting and pasting controls and things, the handles frequently disappear from the routines on their own because they can no longer find the controls they are supposed to handle.
 
Back
Top