<div class='sxro sx3co'> <div class="sxlb"> <asp:Label ID="lblSupplierOnLeaveStartDate" runat="server" AssociatedControlID="dpSupplierOnLeaveStartDate" Text="On-leave Start Date"></asp:Label></div> <div class="sxlm"> <asp:DatePicker runat="server" ID="dpSupplierOnLeaveStartDate" DateInput-ReadOnly="true" DateInput-DateFormat="MM-dd-yyyy" Width="99%"> <ClientEvents OnPopupClosing="FocusOnPopUpButton" önDateSelected="SetSupplierOnLeaveStartDateSelected" /> <Calendar ID="calSupplierOnLeaveStartDate" runat="server" EnableKeyboardNavigation="true" CausesValidation="false"> </Calendar> </asp:DatePicker> <div class="vldx"> <asp:RequiredFieldValidator runat="server" ID="rfvSupplierOnLeaveStartDate" ControlToValidate="dpSupplierOnLeaveStartDate" class="errmsg" ValidationGroup="grpSupplierInformation" Display="Dynamic" ErrorMessage="SUPPLIER_ONLEAVE_START_DATE_MANDATORY" %>' Enabled="false" /> <asp:CompareValidator ID="cmpSupplierOnLeaveStartDate" ControlToValidate="dpSupplierOnLeaveStartDate" class="errmsg" ValidationGroup="grpSupplierInformation" Operator="GreaterThanEqual" Display="Dynamic" ValueToCompare='<%# DateTime.Today.ToShortDateString() %>' Type="Date" runat="server" ErrorMessage="SUPPLIER_ONLEAVE_START_DATE_GRATER_THAN_CURRENT_DATE" %>'></asp:CompareValidator> </div> </div> <div class="sxlb"> <asp:Label ID="lblSupplierOnLeaveEndDate" runat="server" AssociatedControlID="dpSupplierOnLeaveEndDate" Text="On-leave End Date"></asp:Label></div> <div class="sxlm"> <:asp:DatePicker runat="server" ID="dpSupplierOnLeaveEndDate" DateInput-ReadOnly="true" DateInput-DateFormat="MM-dd-yyyy" Width="99%"> <ClientEvents OnPopupClosing="FocusOnPopUpButton" önDateSelected="SetSupplierOnLeaveEndDateSelected" /> <Calendar ID="calSupplierOnLeaveEndDate" runat="server" EnableKeyboardNavigation="true" CausesValidation="false"> </Calendar> </:DatePicker> <div class="vldx"> <asp:RequiredFieldValidator runat="server" ID="rfvSupplierOnLeaveEndDate" ControlToValidate="dpSupplierOnLeaveEndDate" class="errmsg" ValidationGroup="grpSupplierInformation" Display="Dynamic" ErrorMessage="SUPPLIER_ONLEAVE_END_DATE_MANDATORY" %>' Enabled="false" /> <asp:CompareValidator ID="cmpSupplierOnLeaveEndDate" ControlToValidate="dpSupplierOnLeaveEndDate" class="errmsg" ValidationGroup="grpSupplierInformation" Operator="GreaterThanEqual" Display="Dynamic" ControlToCompare="dpSupplierOnLeaveStartDate" Type="Date" runat="server" ErrorMessage="SUPPLIER_ONLEAVE_END_DATE_GRATER_THAN_ONLEAVE_START_DATE" %>'></asp:CompareValidator> </div> </div> <div class='sxroend'> </div> </div> </div>
DateInput-ReadOnly="false" EnableKeyboardNavigation="false"
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)