Is there any reason an asp CompareValidator validates after postback. ie everything runs when i click the button, and the error of the validator shows on the screen after postback.
i have a compare validator on 2 dates (datefrom and dateto). if the dates are in gregorian format the validator works fine, but if the dates are in hijri format, the above scenario takes place.
this is my validator:
<asp:ValidCompareValidator ID="vcvDate" runat="server" ControlToValidate="cDateTo" ControlToCompare="cDateFrom" Operator="GreaterThanEqual" Type="Date" CultureInvariantValues="true" />