How to validate a DropDownList or ListBox using RequiredfieldValidator control?

 Posted by vishalneeraj-24503 on 2/2/2015 | Category: ASP.NET Interview questions | Views: 560 | Points: 40
Answer:

RequiredfieldValidator has a InitialValue property ,by which we can validate dropdownlist,listbox control.
We have to set InitialValue property to 0 and dropdownlist control also has 0 value at first index as -Select- text.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response