but I can see (*) only with document title.
(*) doesn't appear beside stateComboBox.
Am i doing any mistake here?
The InitialValue is set to "--Select State--" which is unusual. Typically the value is 0 or an empty string. The Text is is "--Select State--". Are you sure the dropdown option value is "--Select State--"? The community cannot see this information form
the code snippet.
Member
12 Points
42 Posts
validate thru requiredFieldValidator
Jun 03, 2020 05:14 PM|mazharul007|LINK
I am trying to validate my field with requiredFiledValidator
Here is my code
but I can see (*) only with document title.
(*) doesn't appear beside stateComboBox.
Am i doing any mistake here?
All-Star
53021 Points
23604 Posts
Re: validate thru requiredFieldValidator
Jun 03, 2020 06:08 PM|mgebhard|LINK
The InitialValue is set to "--Select State--" which is unusual. Typically the value is 0 or an empty string. The Text is is "--Select State--". Are you sure the dropdown option value is "--Select State--"? The community cannot see this information form the code snippet.
Member
12 Points
42 Posts
Re: validate thru requiredFieldValidator
Jun 04, 2020 06:52 AM|mazharul007|LINK
Solved it by putting initial value 0 thanks