Using RequiredFieldValidator for DropDownList in ASP.Net


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.



Download FREE API for Word, Excel and PDF in ASP.Net
 
ArticleId:3098

© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.