Saurabh

Saurabh

  • NA
  • 322
  • 386.7k

Applying Validation Controls To DropDownList in ASP.Net2.0

Dec 16 2005 4:59 AM

Hi !!

Can i attach a RequiredFieldValidator to dropdownlist in asp.net2.0?
i want to make it mandatory for the user to select an option from the
dropdownlist.
i can validate it by writing code in my code-behind file, but can i have the
dropdown validated at the client side only? Just like we validate a textbox by a requiredfieldvalidator
on client side.

All Answers Are Welcome.

Happy Coding :)