<%@ Page Language=VB Debug=true %>Validating for a Date in the Current Year Using the CustomValidator ControlEnter a date in the current year: id="txtDate" runat=server /> id="customDate" controltovalidate="txtDate" onservervalidate="Date_ServerValidation" display="Dynamic" font-name="Verdana" font-bold="True" font-size="10pt" runat="server"> You must enter a date in the current year! id="butOK" text="OK" type="Submit" onclick="SubmitBtn_Click" runat="server"/>