That is done by setting Validation Type property as shown in image below: These properties allow you to define 3 level validation for each control.
Validation starts with Validator1, Validator2 and finally Validator3.
You can use Required Field Validator control with Initial Value as the default value for the Drop Down List box. Net Drop Down List control using Required Field Validator, when user clicks the list item of dropdownlist control to select it.
A good way of using the Initial Value property is with the Drop Down List server control.a drop-down list might have a default value that is not an empty value (by default, some text appears in it).
I would like to have feedback from my blog readers.
Please post your feedback, question, or comments about this article. NET is the superb platform for dump high-end applications, and there are a runs like the wind code of ways to what end programmers can use. This passage discusses seven lucky books that finance developers to raw material various features of .
 first make sure that you have set the dropdownlist property Append Data Bound Items = true;  in page_load() insert an item at 0 index in dropdownlist as.. if i have country database it has two fields 1) Countryid 2) countryname country id is identity it will increment one by one , suppose Initiall i had 10 items ( or country name) afterwar i have deleted the 4 record ( it may be in the middle , first or top , even, one after another) after delete the record the country id with name would be deleted how can i make it as order for the country id like 1,2,3,4, etc.. if i have country database it has two fields 1) Countryid 2) countryname country id is identity it will increment one by one , suppose Initiall i had 10 items ( or country name) afterwar i have deleted the 4 record ( it may be in the middle , first or top , even, one after another) after delete the record the country id with name would be deleted how can i make it as order for the country id like 1,2,3,4, etc.. Add(new List Item("Wills Classic", "WC")); Ashvin Padhiyar Asp. Add(new List Item("MP", "Miss Player")); ddl_season.
Insert(0, new List Item("--Select--", "-1"));  then set the required field validator as.. As require field validator's initial value property check the value parameter. Yes, its working thanks Then i have another doubt in sql.. Add(new List Item("JP", "John Player")); ddl_season. Super Validator also provides validation based on the Regular Expressions.You can read more about regular expressions in MSDN starting at following URL: Regular Expression Validator is assigned to input field it looks like this in property grid: Super Validator component includes Comparison Validation that allows you to compare values of two input fields or to compare input field value to a predefined value you set.In Asp.net, sometimes we need to validate List Box and Drop Down List using Required field validator.It is tricky and avoids the use of Java Script function to validate List Box and Drop Down List. For validating Drop Down List, make sure you have "--Select--" option value 0 other wise validation on it will not work.I have a requiredfieldvalidator for my dropdownlist. User choses some options(somewhere else) and according to that I fill the dropdown list and make it visible. Add(new List Item("John Player", "JP")); ddl_season. This can be beneficial to other community members reading the thread.