How can i validate dropdownlist value at client side

Dec 21, 2011 at 9:24 AM

first , thanks for the great tutorial.

but i have a question about validation on dropdownlist

tutorial Part 6: Using Data Annotations for Model Validation

the last part shows how to do validation on textbox , but how can i validate the dropdownlist at the same time when i click Create button.

because now it only shows 2 error message on textbox, the dropdownlist shows no error message.

how to improve this to make the application better?

thanks very much 

yang