<%@ Page Language="C#" %> Date Validation Check Arrival Date: runat="server" ErrorMessage="select a date within the next two weeks." ControlToValidate="TextBox1" Type="Date"> Select your arrival date: runat="server" OnSelectionChanged="Calendar1_SelectionChanged"> OnClick="Button1_Click" />