Validating dropdownlist asp net
I could always specify a default value when loading the page, but more often than not it adds to the confusion for my end users.
In this scenario if you add a Required Field Validator, the validator can not validate the Drop Down List.
To do that you have to mention Required Field Validator Initial Value property =”0″.
When we bind data into a Drop Down List Control we found that the first List Item getting selected by default.
If you want to force to select an Item of a Drop Down List rather than default selection you have to add a List Item like “–Please Select–” as an Item.