My requiredfield control is validating the "SEL"(default invalid value) value but when I do change the value to a valid one, the ErrorMessage/Text does not disappear until I submit the form again.
<asp:DropDownList ID="ddlDocumentType" runat="server" DataTextField="Description" DataValueField="Code" />
<asp:RequiredFieldValidator ControlToValidate="ddlDocumentType" Text="*" ID="rfvDocumentType" runat="server" Display="Dynamic" InitialValue="SEL" />
It happens in all my dropdownlists/requiredfieldvalidators. How does the Text/ErrorMessage disappear when I change the value on the dropdownlist ? I'm guessing it has to disappear when the option is valid !
Thanks,