When I change ddl.Visible=true(it gets changed on partial postback/updatepanel from another form element event)the RequiredFieldValidator will not fire?
NOTE: This is not a question on how to use the RequiredFieldValidator in a normal circumstance. My form has cascading dropdowns that are all dynamically built with their visibility toggled on and off.
<asp:DropDownList ID="ddl" Visible="false" AutoPostBack="True" runat="server">
</asp:DropDownList>
<asp:RequiredFieldValidator ControlToValidate="ddl"
ID="RequiredFieldValidator1"
runat="server" ErrorMessage="Required"></asp:RequiredFieldValidator>