I have a web application that I am working on. I have populated the VehicleType_vch dropdown list with T Sequel code using a select statement when the application runs.
When the user selects a Vehicle type called Boat, I want other drop downs to appear and become visible based on the selection by ther user with the VehicleType_vch Drop Down List.
Where do I place the coding to handle this event? Do I place in the Selected IndexChanged event or TextChanged event or some other place? When I run the coding below nothing happens, so I have something wrong.
Protected Sub DDLVehicleType_vch_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DDLVehicleType_vch.SelectedIndexChanged
If DDLVehicleType_vch.SelectedItem.ToString = "Boat" Then
LblBoatState.Visible = True
DDLState.Visible = True