filmov
tv
Using RequiredFieldValidator for DropDownList in ASP.Net

Показать описание
Here Mudassar Ahmed 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.
Follow us on:
#Shorts #DropDownList #RequiredFieldValidator #Validation #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.
Follow us on:
#Shorts #DropDownList #RequiredFieldValidator #Validation #ASP.Net