The most common way to do something on your ASP.Net pags, using the selected item of a DropDownList is probably to add a button. Then, in the button’s click event, do whatever coding with that item that you need to do.

But let’s say you DON’T want to use a button. You want to just select the item and have it do whatever you need to do. All you need to do at that point, is to move all the code to the DropDownList’s SelectedIndexChanged event, and change the AutoPostBack property of the DropDownList to ‘True’.

There is, however, one drawback – – since it’s in the SelectedIndexChanged event, if the user clicked on the DDL and chose the same item, you’re actually not selecting a different index. It doesn’t change, so nothing would happen on the screen. That is not a big deal, since it’s very understandable, but the end user could get confused. Any chance given for an end user to get confused, be assured, he will :)