- Posted:
21 Aug 2020
- Author: Mudassar Khan
-
- Technology:
C#
- Language:
English
-
In this video tutorial, Mudassar Khan has explained how to use RequiredFieldValidator for DropDownList in ASP.Net.
RequiredFieldValidator is used to validate required inputs, for TextBoxes it is plug and play but for DropDownList an additional property InitialValue needs to be set in ASP.Net.
In the InitialValue property, the value of the Default DropDownList Item needs to be set.