<%@ Register Tagprefix="AuditTrail" TagName="Pagination" Src="../Shared/Pagination.ascx" %>

<%@ Register Tagprefix="AuditTrail" Namespace="AuditTrail.UI.Controls.SelectEditEmployees" %>

<%@ Register Tagprefix="AuditTrail" TagName="Footer" Src="../Header and Footer/Footer.ascx" %>

<%@ Register Tagprefix="Selectors" Namespace="AuditTrail" %>

<%@ Page Language="vb" EnableEventValidation="false" AutoEventWireup="false" CodeFile="SelectEditEmployees.aspx.vb" Culture="en-US" Inherits="AuditTrail.UI.SelectEditEmployees" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register TagPrefix="FCKeditorV2" Namespace="FredCK.FCKeditorV2" Assembly="FredCK.FCKeditorV2" %>
<%@ Register Tagprefix="AuditTrail" TagName="Header" Src="../Header and Footer/Header.ascx" %>

<%@ Register Tagprefix="AuditTrail" TagName="ThemeButton" Src="../Shared/ThemeButton.ascx" %>

<%@ Register Tagprefix="AuditTrail" TagName="Menu" Src="../Menu Panels/Menu.ascx" %>

<%@ Register Tagprefix="BaseClasses" Namespace="BaseClasses.Web.UI.WebControls" Assembly="BaseClasses" %>
<%@ Register Tagprefix="AuditTrail" TagName="PaginationShort" Src="../Shared/PaginationShort.ascx" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head id="Head1" runat="server">
    <title><asp:Literal runat="server" id="PageTitle" Text="&lt;%#String.Concat(GetResourceValue(&quot;Title:Edit&quot;, &quot;AuditTrail&quot;),&quot; Employees&quot;) %>">
</asp:Literal></title>
    <link rel="stylesheet" rev="stylesheet" type="text/css" href="../Styles/BaseStyles.css"/>
    <link rel="stylesheet" rev="stylesheet" type="text/css" href="../Styles/Styles.css"/>
    </head>
    <body id="Body1" runat="server" class="pBack">
    <form id="Form1" method="post" runat="server"><BaseClasses:ScrollCoordinates id="ScrollCoordinates" runat="server"></BaseClasses:ScrollCoordinates>
        <BaseClasses:BasePageSettings id="PageSettings" runat="server"></BaseClasses:BasePageSettings>
        <script language="JavaScript" type="text/javascript">clearRTL()</script>
		<asp:ScriptManager ID="scriptManager1" runat="server" EnablePartialRendering="True" EnablePageMethods="True" EnableScriptGlobalization="True" EnableScriptLocalization="True" />
		
        <table cellspacing="0" cellpadding="0" border="0" width="100%">
        <tr>
        <td class="pAlign">
        <table cellspacing="0" cellpadding="0" border="0" class="pbTable">
            <tr>
            <td class="pbTL"><img src="../Images/space.gif" alt=""/></td>
            <td class="pbT"><img src="../Images/space.gif" alt=""/></td>
            <td class="pbTR"><img src="../Images/space.gif" alt=""/></td>
            </tr>
            <tr>
            <td class="pbL"><img src="../Images/space.gif" alt=""/></td>
            <td class="pbC">
            <table cellspacing="0" cellpadding="0" border="0" class="pcTable">
            <tr>
                <td class="pcT" colspan="2">
                <table cellspacing="0" cellpadding="0" border="0" width="100%">
                <tr>
                <td>
                </td>
            </tr>
            </table>
            <table cellspacing="0" cellpadding="0" border="0" width="100%">
            <tr>
            <td>
<!-- #Region PageHeader --> <AuditTrail:Header runat="server" id="PageHeader">
		</AuditTrail:Header><!-- #EndRegion PageHeader -->
			</td>
            </tr>
            </table>
            </td>
            <td class="pcTR"></td>
            </tr>
            <tr>
                <td class="pcL">
<!-- #Region VerticalMenu --> 
                     
<!-- #EndRegion VerticalMenu -->
				</td>
                <td class="pcC">
                <table cellspacing="0" cellpadding="0" border="0" width="100%">
                <tr>
                <td>
<!-- #Region HorizontalMenu -->
                    <AuditTrail:Menu runat="server" id="Menu" hilitesettings="EmployeesMenuItem">
		</AuditTrail:Menu>
<!-- #EndRegion HorizontalMenu -->
				</td>
                </tr>
                <tr>
                    <td>
                        <table cellspacing="0" cellpadding="0" border="0" width="100%">
                        <tr>
                        <td class="pContent"><a name="StartOfPageContent"></a><asp:UpdateProgress runat="server" id="UpdatePanel1_UpdateProgress1" AssociatedUpdatePanelID="UpdatePanel1">
					<ProgressTemplate>
						<div class="ajaxUpdatePanel">
						</div>
						<div style=" position:absolute; padding:30px;">
							<img src="../Images/updating.gif" alt=""/>
						</div>
					</ProgressTemplate>
				</asp:UpdateProgress>
				<asp:UpdatePanel runat="server" id="UpdatePanel1" UpdateMode="Conditional">
					<ContentTemplate>
						
<AuditTrail:EmployeesRecordControl runat="server" id="EmployeesRecordControl">
									

 <%= SystemUtils.GenerateEnterKeyCaptureBeginTag(FindControl("CancelButton$_Button")) %>
 <%= SystemUtils.GenerateEnterKeyCaptureBeginTag(FindControl("EditButton$_Button")) %>
 <%= SystemUtils.GenerateEnterKeyCaptureBeginTag(FindControl("OKButton$_Button")) %>
 <%= SystemUtils.GenerateEnterKeyCaptureBeginTag(FindControl("SaveAndNewButton$_Button")) %>
  <%= SystemUtils.GenerateEnterKeyCaptureBeginTag(FindControl("SaveButton$_Button")) %>
		
    <table class="dv" cellpadding="0" cellspacing="0" border="0">
<!-- #Region PanelHeader -->
		<tr>
			<td class="dh">
				<table cellpadding="0" cellspacing="0" width="100%" border="0">
					<tr>
						<td class="dhel"><img src="../Images/space.gif" alt=""/></td>
						<td class="dheci" valign="middle"><asp:CollapsiblePanelExtender id="EmployeesRecordControlCPExtender" runat="server" TargetControlid="EmployeesRecordControlCollapsibleRegion" ExpandControlID="EmployeesRecordControlToggleIcon" CollapseControlID="EmployeesRecordControlToggleIcon" ImageControlID="EmployeesRecordControlToggleIcon" ExpandedImage="~/images/icon_panelcollapse.gif" CollapsedImage="~/images/icon_panelexpand.gif" SuppressPostBack="true"/>
						<asp:ImageButton id="EmployeesRecordControlToggleIcon" runat="server" alternatetext="&lt;%# GetResourceValue(&quot;Btn:ExpandCollapse&quot;, &quot;AuditTrail&quot;) %>" causesvalidation="False" imageurl="~/images/icon_panelcollapse.gif"/></td>
						<td class="dhb">
							<table cellpadding="0" cellspacing="0" border="0">
								<tr>
									<td class="dhtr" valign="middle"><asp:Literal runat="server" id="EmployeesTitle" Text="&lt;%#String.Concat(GetResourceValue(&quot;Title:Select&quot;, &quot;AuditTrail&quot;),&quot; Employees&quot;) %>">
									</asp:Literal></td>
								</tr>
							</table>
						</td>
						<td class="dher"><img src="../Images/space.gif" alt=""/></td>
					</tr>
				</table>
			</td>
		</tr>
<!-- #EndRegion PanelHeader -->
		<tr>
			<td>
				<asp:panel id="EmployeesRecordControlCollapsibleRegion" runat="server">
				<table class="dBody" cellpadding="0" cellspacing="0" border="0" width="100%">
					<tr>
						<td>
<!-- #Region SearchFilter -->
                    <table cellpadding="0" cellspacing="3" border="0">
                      
								<tr >
									<td class="fila" ><%# GetResourceValue("Txt:SearchFor", "AuditTrail") %>
									</td>
									<td >
										<%= SystemUtils.GenerateEnterKeyCaptureBeginTag(FindControl("EmployeesRecordControl$EmployeesSearchButton")) %><asp:TextBox runat="server" id="EmployeesSearchArea" columns="50" cssclass="Search_Input">
										</asp:TextBox>
<asp:AutoCompleteExtender id="EmployeesSearchAreaAutoCompleteExtender" runat="server" TargetControlID="EmployeesSearchArea" ServiceMethod="GetAutoCompletionList_EmployeesSearchArea" MinimumPrefixLength="2" CompletionInterval="700" CompletionSetCount="10" CompletionListCssClass="autotypeahead_completionListElement" CompletionListItemCssClass="autotypeahead_listItem " CompletionListHighlightedItemCssClass="autotypeahead_highlightedListItem">
</asp:AutoCompleteExtender>

										<%= SystemUtils.GenerateEnterKeyCaptureEndTag(FindControl("EmployeesRecordControl$EmployeesSearchButton")) %>
									</td>
									<td class="filbc" ><AuditTrail:ThemeButton runat="server" id="EmployeesSearchButton" button-causesvalidation="False" button-commandname="Search" button-text="&lt;%# GetResourceValue(&quot;Btn:SearchGoButtonText&quot;, &quot;AuditTrail&quot;) %>">
</AuditTrail:ThemeButton>
									</td>
								</tr>
								<tr >
									<td class="fila" ><asp:Literal runat="server" id="LastNameLabel" Text="Last Name">
</asp:Literal>
									</td>
									<td >
										<%= SystemUtils.GenerateEnterKeyCaptureBeginTag(FindControl("EmployeesRecordControl$EmployeesFilterButton")) %><asp:ListBox runat="server" id="LastNameFilter" cssclass="Filter_Input" onkeypress="dropDownListTypeAhead(this,false)" rows="5" selectionmode="Multiple">
</asp:ListBox>
										<%= SystemUtils.GenerateEnterKeyCaptureEndTag(FindControl("EmployeesRecordControl$EmployeesFilterButton")) %>
									</td>
									<td class="filbc" rowspan="2" ><AuditTrail:ThemeButton runat="server" id="EmployeesFilterButton" button-causesvalidation="False" button-commandname="Search" button-text="&lt;%# GetResourceValue(&quot;Btn:SearchGoButtonText&quot;, &quot;AuditTrail&quot;) %>">
</AuditTrail:ThemeButton>
									</td>
								</tr>
								<tr >
									<td class="fila" ><asp:Literal runat="server" id="PostalCodeLabel" Text="Postal Code">
</asp:Literal>
									</td>
									<td >
										<%= SystemUtils.GenerateEnterKeyCaptureBeginTag(FindControl("EmployeesRecordControl$EmployeesFilterButton")) %><asp:ListBox runat="server" id="PostalCodeFilter" cssclass="Filter_Input" onkeypress="dropDownListTypeAhead(this,false)" rows="5" selectionmode="Multiple">
</asp:ListBox>
										<%= SystemUtils.GenerateEnterKeyCaptureEndTag(FindControl("EmployeesRecordControl$EmployeesFilterButton")) %>
									</td>
								</tr>
								
							</table>
<!-- #EndRegion SearchFilter -->
							<div class="spacer"></div>
					        <table cellspacing="0" cellpadding="0" border="0" width="100%">
								<tr>
									<td>
										<table cellspacing="0" cellpadding="0" border="0" width="100%">
											<tr>
												<td>
													<table cellpadding="0" cellspacing="0" border="0">
<!-- #Region ButtonPaginationBar -->
														<tr>
															<td class="pr" colspan="100">
																<table cellspacing="0" cellpadding="0" border="0">
																	<tr >
																		<td ><img src="../Images/paginationRowEdgeL.gif" alt=""/></td>
																		<td class="prbbc" ><img src="../Images/ButtonBarEdgeL.gif" alt="" /></td>
																		<td class="prbbc" ><img src="../Images/ButtonBarDividerL.gif" alt="" /></td>
																		<td class="prbbc" ><asp:ImageButton runat="server" id="EmployeesNewButton" causesvalidation="false" commandname="Redirect" imageurl="../Images/ButtonBarNew.gif" onmouseout="this.src='../Images/ButtonBarNew.gif'" onmouseover="this.src='../Images/ButtonBarNewOver.gif'" tooltip="&lt;%# GetResourceValue(&quot;Btn:Add&quot;, &quot;AuditTrail&quot;) %>" alternatetext="&lt;%# GetResourceValue(&quot;Btn:Add&quot;, &quot;AuditTrail&quot;) %>">

	</asp:ImageButton></td>
																		<td class="prbbc" ><asp:ImageButton runat="server" id="EmployeesCopyButton" causesvalidation="false" commandname="Redirect" imageurl="../Images/ButtonBarCopy.gif" onmouseout="this.src='../Images/ButtonBarCopy.gif'" onmouseover="this.src='../Images/ButtonBarCopyOver.gif'" tooltip="&lt;%# GetResourceValue(&quot;Btn:Copy&quot;, &quot;AuditTrail&quot;) %>" alternatetext="&lt;%# GetResourceValue(&quot;Btn:Copy&quot;, &quot;AuditTrail&quot;) %>">

	</asp:ImageButton></td>
																		<td class="prbbc" ><asp:ImageButton runat="server" id="EmployeesDeleteButton" causesvalidation="false" commandname="DeleteRecord" imageurl="../Images/ButtonBarDelete.gif" onmouseout="this.src='../Images/ButtonBarDelete.gif'" onmouseover="this.src='../Images/ButtonBarDeleteOver.gif'" tooltip="&lt;%# GetResourceValue(&quot;Btn:Delete&quot;, &quot;AuditTrail&quot;) %>" alternatetext="&lt;%# GetResourceValue(&quot;Btn:Delete&quot;, &quot;AuditTrail&quot;) %>">

	</asp:ImageButton></td>
																		<td class="prbbc" ><asp:ImageButton runat="server" id="EmployeesSaveButton" causesvalidation="true" commandname="UpdateData" imageurl="../Images/ButtonBarSave.gif" onmouseout="this.src='../Images/ButtonBarSave.gif'" onmouseover="this.src='../Images/ButtonBarSaveOver.gif'" tooltip="&lt;%# GetResourceValue(&quot;Btn:Save&quot;, &quot;AuditTrail&quot;) %>" alternatetext="&lt;%# GetResourceValue(&quot;Btn:Save&quot;, &quot;AuditTrail&quot;) %>">

	</asp:ImageButton></td>
																		<td class="prbbc" ><asp:ImageButton runat="server" id="EmployeesRefreshButton" causesvalidation="false" commandname="ResetData" imageurl="../Images/ButtonBarRefresh.gif" onmouseout="this.src='../Images/ButtonBarRefresh.gif'" onmouseover="this.src='../Images/ButtonBarRefreshOver.gif'" tooltip="&lt;%# GetResourceValue(&quot;Btn:Refresh&quot;, &quot;AuditTrail&quot;) %>" alternatetext="&lt;%# GetResourceValue(&quot;Btn:Refresh&quot;, &quot;AuditTrail&quot;) %>">

	</asp:ImageButton></td>
																		<td class="prbbc" ><asp:ImageButton runat="server" id="EmployeesResetButton" causesvalidation="false" commandname="ResetFilters" imageurl="../Images/ButtonBarReset.gif" onmouseout="this.src='../Images/ButtonBarReset.gif'" onmouseover="this.src='../Images/ButtonBarResetOver.gif'" tooltip="&lt;%# GetResourceValue(&quot;Btn:Reset&quot;, &quot;AuditTrail&quot;) %>" alternatetext="&lt;%# GetResourceValue(&quot;Btn:Reset&quot;, &quot;AuditTrail&quot;) %>">

	</asp:ImageButton></td>
																		<td class="prbbc" ><img src="../Images/ButtonBarDividerR.gif" alt="" /></td>
																		<td class="prbbc" ><img src="../Images/ButtonBarEdgeR.gif" alt="" /></td>
																		<td class="pra" ><AuditTrail:PaginationShort runat="server" id="EmployeesPagination">
	</AuditTrail:PaginationShort></td>
																		<td ><img src="../Images/paginationRowEdgeR.gif" alt=""/></td></tr>
																</table>
															</td>
														</tr>
<!-- #EndRegion ButtonPaginationBar -->
<!-- #Region DataViewArea -->
														<tr>
															<td>
																<asp:panel id="EmployeesRecordControlPanel" Runat="Server">
																	<table cellpadding="0" cellspacing="3" border="0">
																		<tr >
																			<td class="fls" ><asp:Literal runat="server" id="LastNameLabel1" Text="Last Name">
</asp:Literal></td>
																			<td class="dfv" style="white-space:nowrap;" ><asp:TextBox runat="server" id="LastName" Columns="20" MaxLength="20" cssclass="field_input">
</asp:TextBox>&nbsp;
<asp:RequiredFieldValidator runat="server" id="LastNameRequiredFieldValidator" ControlToValidate="LastName" ErrorMessage="&lt;%# GetResourceValue(&quot;Val:ValueIsRequired&quot;, &quot;AuditTrail&quot;).Replace(&quot;{FieldName}&quot;, &quot;Last Name&quot;) %>" enabled="True" text="*"></asp:RequiredFieldValidator>&nbsp;
<BaseClasses:TextBoxMaxLengthValidator runat="server" id="LastNameTextBoxMaxLengthValidator" ControlToValidate="LastName" ErrorMessage="&lt;%# GetResourceValue(&quot;Val:ValueTooLong&quot;, &quot;AuditTrail&quot;).Replace(&quot;{FieldName}&quot;, &quot;Last Name&quot;) %>"></BaseClasses:TextBoxMaxLengthValidator></td>
																			<td class="fls" ><asp:Literal runat="server" id="FirstNameLabel" Text="First Name">
</asp:Literal></td>
																			<td class="dfv" style="white-space:nowrap;" ><asp:TextBox runat="server" id="FirstName" Columns="10" MaxLength="10" cssclass="field_input">
</asp:TextBox>&nbsp;
<asp:RequiredFieldValidator runat="server" id="FirstNameRequiredFieldValidator" ControlToValidate="FirstName" ErrorMessage="&lt;%# GetResourceValue(&quot;Val:ValueIsRequired&quot;, &quot;AuditTrail&quot;).Replace(&quot;{FieldName}&quot;, &quot;First Name&quot;) %>" enabled="True" text="*"></asp:RequiredFieldValidator>&nbsp;
<BaseClasses:TextBoxMaxLengthValidator runat="server" id="FirstNameTextBoxMaxLengthValidator" ControlToValidate="FirstName" ErrorMessage="&lt;%# GetResourceValue(&quot;Val:ValueTooLong&quot;, &quot;AuditTrail&quot;).Replace(&quot;{FieldName}&quot;, &quot;First Name&quot;) %>"></BaseClasses:TextBoxMaxLengthValidator></td>
																		</tr>
																		<tr >
																			<td class="fls" ><asp:Literal runat="server" id="TitleLabel" Text="Title">
</asp:Literal></td>
																			<td class="dfv" style="white-space:nowrap;" ><asp:TextBox runat="server" id="Title" Columns="30" MaxLength="30" cssclass="field_input">
</asp:TextBox>&nbsp;
<BaseClasses:TextBoxMaxLengthValidator runat="server" id="TitleTextBoxMaxLengthValidator" ControlToValidate="Title" ErrorMessage="&lt;%# GetResourceValue(&quot;Val:ValueTooLong&quot;, &quot;AuditTrail&quot;).Replace(&quot;{FieldName}&quot;, &quot;Title&quot;) %>"></BaseClasses:TextBoxMaxLengthValidator></td>
																			<td class="fls" ><asp:Literal runat="server" id="TitleOfCourtesyLabel" Text="Title Of Courtesy">
</asp:Literal></td>
																			<td class="dfv" style="white-space:nowrap;" ><asp:TextBox runat="server" id="TitleOfCourtesy" Columns="25" MaxLength="25" cssclass="field_input">
</asp:TextBox>&nbsp;
<BaseClasses:TextBoxMaxLengthValidator runat="server" id="TitleOfCourtesyTextBoxMaxLengthValidator" ControlToValidate="TitleOfCourtesy" ErrorMessage="&lt;%# GetResourceValue(&quot;Val:ValueTooLong&quot;, &quot;AuditTrail&quot;).Replace(&quot;{FieldName}&quot;, &quot;Title Of Courtesy&quot;) %>"></BaseClasses:TextBoxMaxLengthValidator></td>
																		</tr>
																		<tr >
																			<td class="fls" ><asp:Literal runat="server" id="BirthDateLabel" Text="Birth Date">
</asp:Literal></td>
																			<td class="dfv" style="white-space:nowrap;" ><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="padding-right: 5px; vertical-align:top">
<asp:TextBox runat="server" id="BirthDate" Columns="20" MaxLength="20" onkeyup="DateFormat(this, this.value, event.keyCode, 'mm/dd/yyyy')" cssclass="field_input">
</asp:TextBox></td>
<td style="padding-right: 5px; white-space:nowrap;">
<%# SystemUtils.GenerateIncrementDecrementButtons(true, Container.FindControl("BirthDate"),"DateTextBox","mm/dd/yyyy","","") %>
</td>
<td style="padding-right: 5px">
<Selectors:CalendarExtendarClass runat="server" ID="BirthDateCalendarExtender" TargetControlID="BirthDate" CssClass="MyCalendar" Format="d">
</Selectors:CalendarExtendarClass>&nbsp;
<BaseClasses:TextBoxMaxLengthValidator runat="server" id="BirthDateTextBoxMaxLengthValidator" ControlToValidate="BirthDate" ErrorMessage="&lt;%# GetResourceValue(&quot;Val:ValueTooLong&quot;, &quot;AuditTrail&quot;).Replace(&quot;{FieldName}&quot;, &quot;Birth Date&quot;) %>"></BaseClasses:TextBoxMaxLengthValidator></td>
</tr>
</table>
</td>
																			<td class="fls" ><asp:Literal runat="server" id="HireDateLabel" Text="Hire Date">
</asp:Literal></td>
																			<td class="dfv" style="white-space:nowrap;" ><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="padding-right: 5px; vertical-align:top">
<asp:TextBox runat="server" id="HireDate" Columns="20" MaxLength="20" onkeyup="DateFormat(this, this.value, event.keyCode, 'mm/dd/yyyy')" cssclass="field_input">
</asp:TextBox></td>
<td style="padding-right: 5px; white-space:nowrap;">
<%# SystemUtils.GenerateIncrementDecrementButtons(true, Container.FindControl("HireDate"),"DateTextBox","mm/dd/yyyy","","") %>
</td>
<td style="padding-right: 5px">
<Selectors:CalendarExtendarClass runat="server" ID="HireDateCalendarExtender" TargetControlID="HireDate" CssClass="MyCalendar" Format="d">
</Selectors:CalendarExtendarClass>&nbsp;
<BaseClasses:TextBoxMaxLengthValidator runat="server" id="HireDateTextBoxMaxLengthValidator" ControlToValidate="HireDate" ErrorMessage="&lt;%# GetResourceValue(&quot;Val:ValueTooLong&quot;, &quot;AuditTrail&quot;).Replace(&quot;{FieldName}&quot;, &quot;Hire Date&quot;) %>"></BaseClasses:TextBoxMaxLengthValidator></td>
</tr>
</table>
</td>
																		</tr>
																		<tr >
																			<td class="fls" ><asp:Literal runat="server" id="AddressLabel" Text="Address">
</asp:Literal></td>
																			<td class="dfv" style="white-space:nowrap;" ><asp:TextBox runat="server" id="Address" Columns="50" MaxLength="50" cssclass="field_input">
</asp:TextBox>&nbsp;
<BaseClasses:TextBoxMaxLengthValidator runat="server" id="AddressTextBoxMaxLengthValidator" ControlToValidate="Address" ErrorMessage="&lt;%# GetResourceValue(&quot;Val:ValueTooLong&quot;, &quot;AuditTrail&quot;).Replace(&quot;{FieldName}&quot;, &quot;Address&quot;) %>"></BaseClasses:TextBoxMaxLengthValidator></td>
																			<td class="fls" ><asp:Literal runat="server" id="CityLabel" Text="City">
</asp:Literal></td>
																			<td class="dfv" style="white-space:nowrap;" ><asp:TextBox runat="server" id="City" Columns="15" MaxLength="15" cssclass="field_input">
</asp:TextBox>&nbsp;
<BaseClasses:TextBoxMaxLengthValidator runat="server" id="CityTextBoxMaxLengthValidator" ControlToValidate="City" ErrorMessage="&lt;%# GetResourceValue(&quot;Val:ValueTooLong&quot;, &quot;AuditTrail&quot;).Replace(&quot;{FieldName}&quot;, &quot;City&quot;) %>"></BaseClasses:TextBoxMaxLengthValidator></td>
																		</tr>
																		<tr >
																			<td class="fls" ><asp:Literal runat="server" id="RegionLabel" Text="Region">
</asp:Literal></td>
																			<td class="dfv" style="white-space:nowrap;" ><asp:TextBox runat="server" id="Region" Columns="15" MaxLength="15" cssclass="field_input">
</asp:TextBox>&nbsp;
<BaseClasses:TextBoxMaxLengthValidator runat="server" id="RegionTextBoxMaxLengthValidator" ControlToValidate="Region" ErrorMessage="&lt;%# GetResourceValue(&quot;Val:ValueTooLong&quot;, &quot;AuditTrail&quot;).Replace(&quot;{FieldName}&quot;, &quot;Region&quot;) %>"></BaseClasses:TextBoxMaxLengthValidator></td>
																			<td class="fls" ><asp:Literal runat="server" id="PostalCodeLabel1" Text="Postal Code">
</asp:Literal></td>
																			<td class="dfv" style="white-space:nowrap;" ><asp:TextBox runat="server" id="PostalCode" Columns="10" MaxLength="10" cssclass="field_input">
</asp:TextBox>&nbsp;
<BaseClasses:TextBoxMaxLengthValidator runat="server" id="PostalCodeTextBoxMaxLengthValidator" ControlToValidate="PostalCode" ErrorMessage="&lt;%# GetResourceValue(&quot;Val:ValueTooLong&quot;, &quot;AuditTrail&quot;).Replace(&quot;{FieldName}&quot;, &quot;Postal Code&quot;) %>"></BaseClasses:TextBoxMaxLengthValidator></td>
																		</tr>
																		<tr >
																			<td class="fls" ><asp:Literal runat="server" id="CountryLabel" Text="Country">
</asp:Literal></td>
																			<td class="dfv" style="white-space:nowrap;" ><asp:TextBox runat="server" id="Country" Columns="15" MaxLength="15" cssclass="field_input">
</asp:TextBox>&nbsp;
<BaseClasses:TextBoxMaxLengthValidator runat="server" id="CountryTextBoxMaxLengthValidator" ControlToValidate="Country" ErrorMessage="&lt;%# GetResourceValue(&quot;Val:ValueTooLong&quot;, &quot;AuditTrail&quot;).Replace(&quot;{FieldName}&quot;, &quot;Country&quot;) %>"></BaseClasses:TextBoxMaxLengthValidator></td>
																			<td class="fls" ><asp:Literal runat="server" id="HomePhoneLabel" Text="Home Phone">
</asp:Literal></td>
																			<td class="dfv" style="white-space:nowrap;" ><asp:TextBox runat="server" id="HomePhone" Columns="24" MaxLength="24" cssclass="field_input">
</asp:TextBox>&nbsp;
<BaseClasses:TextBoxMaxLengthValidator runat="server" id="HomePhoneTextBoxMaxLengthValidator" ControlToValidate="HomePhone" ErrorMessage="&lt;%# GetResourceValue(&quot;Val:ValueTooLong&quot;, &quot;AuditTrail&quot;).Replace(&quot;{FieldName}&quot;, &quot;Home Phone&quot;) %>"></BaseClasses:TextBoxMaxLengthValidator></td>
																		</tr>
																		<tr >
																			<td class="fls" ><asp:Literal runat="server" id="ExtensionLabel" Text="Extension">
</asp:Literal></td>
																			<td class="dfv" style="white-space:nowrap;" ><asp:TextBox runat="server" id="Extension" Columns="4" MaxLength="4" cssclass="field_input">
</asp:TextBox>&nbsp;
<BaseClasses:TextBoxMaxLengthValidator runat="server" id="ExtensionTextBoxMaxLengthValidator" ControlToValidate="Extension" ErrorMessage="&lt;%# GetResourceValue(&quot;Val:ValueTooLong&quot;, &quot;AuditTrail&quot;).Replace(&quot;{FieldName}&quot;, &quot;Extension&quot;) %>"></BaseClasses:TextBoxMaxLengthValidator></td>
																			<td class="fls" ><asp:Literal runat="server" id="ReportsToLabel" Text="Reports To">
</asp:Literal></td>
																			<td class="dfv" style="white-space:nowrap;" ><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="padding-right: 5px; vertical-align:top">
<asp:TextBox runat="server" id="ReportsTo" Columns="14" MaxLength="14" onkeyup="adjustInteger(this, event.keyCode)" cssclass="field_input">
</asp:TextBox></td>
<td style="padding-right: 5px; white-space:nowrap;">
<%# SystemUtils.GenerateIncrementDecrementButtons(true, Container.FindControl("ReportsTo"),"NumberTextBox","","","") %>
</td>
<td style="padding-right: 5px">
&nbsp;
<BaseClasses:TextBoxMaxLengthValidator runat="server" id="ReportsToTextBoxMaxLengthValidator" ControlToValidate="ReportsTo" ErrorMessage="&lt;%# GetResourceValue(&quot;Val:ValueTooLong&quot;, &quot;AuditTrail&quot;).Replace(&quot;{FieldName}&quot;, &quot;Reports To&quot;) %>"></BaseClasses:TextBoxMaxLengthValidator></td>
</tr>
</table>
</td>
																		</tr>
																		<tr >
																			<td class="fls" ><asp:Literal runat="server" id="CreatedOnLabel" Text="Created On">
</asp:Literal></td>
																			<td class="dfv" style="white-space:nowrap;" ><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="padding-right: 5px; vertical-align:top">
<asp:TextBox runat="server" id="CreatedOn" Columns="20" MaxLength="20" onkeyup="DateFormat(this, this.value, event.keyCode, 'mm/dd/yyyy')" cssclass="field_input">
</asp:TextBox></td>
<td style="padding-right: 5px; white-space:nowrap;">
<%# SystemUtils.GenerateIncrementDecrementButtons(true, Container.FindControl("CreatedOn"),"DateTextBox","mm/dd/yyyy","","") %>
</td>
<td style="padding-right: 5px">
<Selectors:CalendarExtendarClass runat="server" ID="CreatedOnCalendarExtender" TargetControlID="CreatedOn" CssClass="MyCalendar" Format="d">
</Selectors:CalendarExtendarClass>&nbsp;
<BaseClasses:TextBoxMaxLengthValidator runat="server" id="CreatedOnTextBoxMaxLengthValidator" ControlToValidate="CreatedOn" ErrorMessage="&lt;%# GetResourceValue(&quot;Val:ValueTooLong&quot;, &quot;AuditTrail&quot;).Replace(&quot;{FieldName}&quot;, &quot;Created On&quot;) %>"></BaseClasses:TextBoxMaxLengthValidator></td>
</tr>
</table>
</td>
																			<td class="fls" ><asp:Literal runat="server" id="LastUpdatedOnLabel" Text="Last Updated On">
</asp:Literal></td>
																			<td class="dfv" style="white-space:nowrap;" ><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="padding-right: 5px; vertical-align:top">
<asp:TextBox runat="server" id="LastUpdatedOn" Columns="20" MaxLength="20" onkeyup="DateFormat(this, this.value, event.keyCode, 'mm/dd/yyyy')" cssclass="field_input">
</asp:TextBox></td>
<td style="padding-right: 5px; white-space:nowrap;">
<%# SystemUtils.GenerateIncrementDecrementButtons(true, Container.FindControl("LastUpdatedOn"),"DateTextBox","mm/dd/yyyy","","") %>
</td>
<td style="padding-right: 5px">
<Selectors:CalendarExtendarClass runat="server" ID="LastUpdatedOnCalendarExtender" TargetControlID="LastUpdatedOn" CssClass="MyCalendar" Format="d">
</Selectors:CalendarExtendarClass>&nbsp;
<BaseClasses:TextBoxMaxLengthValidator runat="server" id="LastUpdatedOnTextBoxMaxLengthValidator" ControlToValidate="LastUpdatedOn" ErrorMessage="&lt;%# GetResourceValue(&quot;Val:ValueTooLong&quot;, &quot;AuditTrail&quot;).Replace(&quot;{FieldName}&quot;, &quot;Last Updated On&quot;) %>"></BaseClasses:TextBoxMaxLengthValidator></td>
</tr>
</table>
</td>
																		</tr>
																		<tr >
																			<td class="fls" ><asp:Literal runat="server" id="PhotoLabel" Text="Photo">
</asp:Literal></td>
																			<td class="dfv" colspan="3" >
																				<asp:Image runat="server" id="PhotoImage" alternatetext="PhotoImage">
</asp:Image><br/><asp:FileUpload runat="server" id="Photo" cssclass="field_input" size="60">
</asp:FileUpload></td>
																		</tr>
																		<tr >
																			<td class="fls" ><asp:Literal runat="server" id="NotesLabel" Text="Notes">
</asp:Literal></td>
																			<td class="dfv" colspan="3" style="white-space:nowrap;" ><FCKeditorV2:FCKeditor id="Notes" runat="server" Height="350" Width="640"  ToolbarStartExpanded="True" AutoDetectLanguage="false" DefaultLanguage ="en" Visible="True"  ></FCKeditorV2:FCKeditor></td>
																		</tr>
																		<tr >
																			<td class="fls" ><asp:Literal runat="server" id="CreatedByLabel" Text="Created By">
</asp:Literal></td>
																			<td class="dfv" colspan="3" style="white-space:nowrap;" ><asp:TextBox runat="server" id="CreatedBy" MaxLength="50" columns="60" cssclass="field_input" rows="5" textmode="MultiLine">
</asp:TextBox>&nbsp;
<BaseClasses:TextBoxMaxLengthValidator runat="server" id="CreatedByTextBoxMaxLengthValidator" ControlToValidate="CreatedBy" ErrorMessage="&lt;%# GetResourceValue(&quot;Val:ValueTooLong&quot;, &quot;AuditTrail&quot;).Replace(&quot;{FieldName}&quot;, &quot;Created By&quot;) %>"></BaseClasses:TextBoxMaxLengthValidator></td>
																		</tr>
																		<tr >
																			<td class="fls" ><asp:Literal runat="server" id="LastUpdatedByLabel" Text="Last Updated By">
</asp:Literal></td>
																			<td class="dfv" colspan="3" style="white-space:nowrap;" ><asp:TextBox runat="server" id="LastUpdatedBy" MaxLength="50" columns="60" cssclass="field_input" rows="5" textmode="MultiLine">
</asp:TextBox>&nbsp;
<BaseClasses:TextBoxMaxLengthValidator runat="server" id="LastUpdatedByTextBoxMaxLengthValidator" ControlToValidate="LastUpdatedBy" ErrorMessage="&lt;%# GetResourceValue(&quot;Val:ValueTooLong&quot;, &quot;AuditTrail&quot;).Replace(&quot;{FieldName}&quot;, &quot;Last Updated By&quot;) %>"></BaseClasses:TextBoxMaxLengthValidator></td>
																		</tr>
																	</table>
																</asp:panel>
															</td>
														</tr>	
<!-- #EndRegion DataViewArea -->
													</table>
												</td>
											</tr>
										</table>
									</td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
				</asp:panel>
			</td>
		</tr>
	</table>
 <%= SystemUtils.GenerateEnterKeyCaptureEndTag(FindControl("SaveButton$_Button")) %>
 <%= SystemUtils.GenerateEnterKeyCaptureEndTag(FindControl("SaveAndNewButton$_Button")) %>
 <%= SystemUtils.GenerateEnterKeyCaptureEndTag(FindControl("OKButton$_Button")) %>
 <%= SystemUtils.GenerateEnterKeyCaptureEndTag(FindControl("EditButton$_Button")) %>
 <%= SystemUtils.GenerateEnterKeyCaptureEndTag(FindControl("CancelButton$_Button")) %>
 

</AuditTrail:EmployeesRecordControl><asp:TabContainer runat="server" id="EmployeesTabContainer">
		
    <asp:TabPanel runat="server" id="OrdersTabPanel" HeaderText="Orders">
							<ContentTemplate>
    
<AuditTrail:OrdersTableControl runat="server" id="OrdersTableControl">
											

    <table class="dv" cellpadding="0" cellspacing="0" border="0">
<!-- #Region PanelHeader -->
<!-- #EndRegion PanelHeader -->
		<tr>
			<td>
				<asp:panel id="OrdersTableControlCollapsibleRegion" runat="server">
				<table class="dBody" cellpadding="0" cellspacing="0" border="0" width="100%">
					<tr>
						<td>
<!-- #Region SearchFilter -->
<!-- #EndRegion SearchFilter -->
							<div class="spacer"></div>
					        <table cellspacing="0" cellpadding="0" border="0" width="100%">
								<tr>
									<td>
										<table cellspacing="0" cellpadding="0" border="0" width="100%">
											<tr>
												<td>
													<table cellpadding="0" cellspacing="0" border="0">
<!-- #Region ButtonPaginationBar -->
														<tr>
															<td class="pr" colspan="100">
																<table cellspacing="0" cellpadding="0" border="0">
																	<tr >
																		<td ><img src="../Images/paginationRowEdgeL.gif" alt=""/></td>
																		<td class="prbbc" ><img src="../Images/ButtonBarEdgeL.gif" alt="" /></td>
																		<td class="prbbc" ><img src="../Images/ButtonBarDividerL.gif" alt="" /></td>
																		<td class="prbbc" ><asp:ImageButton runat="server" id="OrdersAddButton" causesvalidation="false" commandname="AddRecord" imageurl="../Images/ButtonBarNew.gif" onmouseout="this.src='../Images/ButtonBarNew.gif'" onmouseover="this.src='../Images/ButtonBarNewOver.gif'" tooltip="&lt;%# GetResourceValue(&quot;Btn:Add&quot;, &quot;AuditTrail&quot;) %>" alternatetext="&lt;%# GetResourceValue(&quot;Btn:Add&quot;, &quot;AuditTrail&quot;) %>">

												</asp:ImageButton></td>
																		<td class="prbbc" ><asp:ImageButton runat="server" id="OrdersEditButton" causesvalidation="false" commandname="Redirect" imageurl="../Images/ButtonBarEdit.gif" onmouseout="this.src='../Images/ButtonBarEdit.gif'" onmouseover="this.src='../Images/ButtonBarEditOver.gif'" tooltip="&lt;%# GetResourceValue(&quot;Btn:Edit&quot;, &quot;AuditTrail&quot;) %>" alternatetext="&lt;%# GetResourceValue(&quot;Btn:Edit&quot;, &quot;AuditTrail&quot;) %>">

												</asp:ImageButton></td>
																		<td class="prbbc" ><asp:ImageButton runat="server" id="OrdersDeleteButton" causesvalidation="false" commandargument="DeleteOnUpdate" commandname="DeleteRecord" imageurl="../Images/ButtonBarDelete.gif" onmouseout="this.src='../Images/ButtonBarDelete.gif'" onmouseover="this.src='../Images/ButtonBarDeleteOver.gif'" tooltip="&lt;%# GetResourceValue(&quot;Btn:Delete&quot;, &quot;AuditTrail&quot;) %>" alternatetext="&lt;%# GetResourceValue(&quot;Btn:Delete&quot;, &quot;AuditTrail&quot;) %>">

												</asp:ImageButton></td>
																		<td class="prbbc" ><asp:ImageButton runat="server" id="OrdersRefreshButton" causesvalidation="false" commandname="ResetData" imageurl="../Images/ButtonBarRefresh.gif" onmouseout="this.src='../Images/ButtonBarRefresh.gif'" onmouseover="this.src='../Images/ButtonBarRefreshOver.gif'" tooltip="&lt;%# GetResourceValue(&quot;Btn:Refresh&quot;, &quot;AuditTrail&quot;) %>" alternatetext="&lt;%# GetResourceValue(&quot;Btn:Refresh&quot;, &quot;AuditTrail&quot;) %>">

												</asp:ImageButton></td>
																		<td class="prbbc" ><asp:ImageButton runat="server" id="OrdersResetButton" causesvalidation="false" commandname="ResetFilters" imageurl="../Images/ButtonBarReset.gif" onmouseout="this.src='../Images/ButtonBarReset.gif'" onmouseover="this.src='../Images/ButtonBarResetOver.gif'" tooltip="&lt;%# GetResourceValue(&quot;Btn:Reset&quot;, &quot;AuditTrail&quot;) %>" alternatetext="&lt;%# GetResourceValue(&quot;Btn:Reset&quot;, &quot;AuditTrail&quot;) %>">

												</asp:ImageButton></td>
																		<td class="prbbc" ><img src="../Images/ButtonBarDividerR.gif" alt="" /></td>
																		<td class="prbbc" ><img src="../Images/ButtonBarEdgeR.gif" alt="" /></td>
																		<td class="pra" ><AuditTrail:Pagination runat="server" id="OrdersPagination">
												</AuditTrail:Pagination></td>
																		<td ><img src="../Images/paginationRowEdgeR.gif" alt=""/></td></tr>
																</table>
															</td>
														</tr>
<!-- #EndRegion ButtonPaginationBar -->
<!-- #Region DataViewArea -->
														<tr>
															<td class="tre">
																<table cellspacing="0" cellpadding="0" border="0" width="100%" onkeydown="captureUpDownKey(this, event)">
																	
																		<tr class="tch" >
																			<th class="thcnb" colspan="3" ><img src="../Images/space.gif" height="1" width="1" alt="" /></th>
																			<th class="thcwb" style="padding:0px;vertical-align:middle;" ><asp:CheckBox runat="server" id="OrdersToggleAll" onclick="toggleAllCheckboxes(this);">

												</asp:CheckBox></th>
																			<th class="thc" scope="col" ><asp:LinkButton runat="server" id="CustomerIDLabel1" Text="Customer" CausesValidation="False">
												</asp:LinkButton></th>
																			<th class="thc" scope="col" ><asp:LinkButton runat="server" id="OrderDateLabel" Text="Order Date" CausesValidation="False">
												</asp:LinkButton></th>
																			<th class="thc" scope="col" ><asp:LinkButton runat="server" id="RequiredDateLabel" Text="Required Date" CausesValidation="False">
												</asp:LinkButton></th>
																			<th class="thc" scope="col" ><asp:LinkButton runat="server" id="ShippedDateLabel" Text="Shipped Date" CausesValidation="False">
												</asp:LinkButton></th>
																			<th class="thc" scope="col" ><asp:LinkButton runat="server" id="ShipViaLabel1" Text="Ship Via" CausesValidation="False">
												</asp:LinkButton></th>
																			<th class="thc" scope="col" ><asp:LinkButton runat="server" id="FreightLabel" Text="Freight" CausesValidation="False">
												</asp:LinkButton></th>
																			<th class="thc" scope="col" ><asp:LinkButton runat="server" id="ShipNameLabel" Text="Ship Name" CausesValidation="False">
												</asp:LinkButton></th>
																			<th class="thc" scope="col" ><asp:LinkButton runat="server" id="ShipAddressLabel" Text="Ship Address" CausesValidation="False">
												</asp:LinkButton></th>
																			<th class="thc" scope="col" ><asp:LinkButton runat="server" id="ShipCityLabel" Text="Ship City" CausesValidation="False">
												</asp:LinkButton></th>
																			<th class="thc" scope="col" ><asp:LinkButton runat="server" id="ShipRegionLabel" Text="Ship Region" CausesValidation="False">
												</asp:LinkButton></th>
																			<th class="thc" scope="col" ><asp:LinkButton runat="server" id="ShipPostalCodeLabel" Text="Ship Postal Code" CausesValidation="False">
												</asp:LinkButton></th>
																			<th class="thc" scope="col" ><asp:LinkButton runat="server" id="ShipCountryLabel" Text="Ship Country" CausesValidation="False">
												</asp:LinkButton></th>
																		</tr>
																	
																	<asp:Repeater runat="server" id="OrdersTableControlRepeater">
													<ITEMTEMPLATE>
															<AuditTrail:OrdersTableControlRow runat="server" id="OrdersTableControlRow">
																	
																		<tr >
																			<td class="ticnb" scope="row" ><asp:ImageButton runat="server" id="OrdersRowViewButton" causesvalidation="False" commandname="Redirect" cssclass="button_link" imageurl="../Images/icon_view.gif" tooltip="&lt;%# GetResourceValue(&quot;Txt:ViewRecord&quot;, &quot;AuditTrail&quot;) %>" alternatetext="&lt;%# GetResourceValue(&quot;Txt:ViewRecord&quot;, &quot;AuditTrail&quot;) %>">

																	</asp:ImageButton></td>
																			<td class="ticnb" scope="row" ><asp:ImageButton runat="server" id="OrdersRowEditButton" causesvalidation="False" commandname="Redirect" cssclass="button_link" imageurl="../Images/icon_edit.gif" tooltip="&lt;%# GetResourceValue(&quot;Txt:EditRecord&quot;, &quot;AuditTrail&quot;) %>" alternatetext="&lt;%# GetResourceValue(&quot;Txt:EditRecord&quot;, &quot;AuditTrail&quot;) %>">

																	</asp:ImageButton></td>
																			<td class="ticnb" scope="row" ><asp:ImageButton runat="server" id="OrdersRowDeleteButton" causesvalidation="False" commandargument="DeleteOnUpdate" commandname="DeleteRecord" cssclass="button_link" imageurl="../Images/icon_delete.gif" tooltip="&lt;%# GetResourceValue(&quot;Txt:DeleteRecord&quot;, &quot;AuditTrail&quot;) %>" alternatetext="&lt;%# GetResourceValue(&quot;Txt:DeleteRecord&quot;, &quot;AuditTrail&quot;) %>">

																	</asp:ImageButton></td>
																			<td class="ticwb" ><asp:CheckBox runat="server" id="OrdersRecordRowSelection" onclick="moveToThisTableRow(this);">

																	</asp:CheckBox></td>
																			<td class="ttc" style="white-space:nowrap;" ><asp:DropDownList runat="server" id="CustomerID" cssclass="field_input" onkeypress="dropDownListTypeAhead(this,false)">
																	</asp:DropDownList>
																	<Selectors:FvLlsHyperLink runat="server" id="CustomerIDFvLlsHyperLink" ControlToUpdate="CustomerID" Text="&lt;%# GetResourceValue(&quot;LLS:Text&quot;, &quot;AuditTrail&quot;) %>" MinListItems="100" Table="Customers" Field="Customers_.CustomerID" DisplayField="Customers_.CompanyName">																	</Selectors:FvLlsHyperLink>&nbsp;
																	<asp:RequiredFieldValidator runat="server" id="CustomerIDRequiredFieldValidator" ControlToValidate="CustomerID" ErrorMessage="&lt;%# GetResourceValue(&quot;Val:ValueIsRequired&quot;, &quot;AuditTrail&quot;).Replace(&quot;{FieldName}&quot;, &quot;Customer&quot;) %>" enabled="True" initialvalue="--PLEASE_SELECT--" text="*">																	</asp:RequiredFieldValidator></td>
																			<td class="ttc" style="white-space:nowrap;" ><table border="0" cellpadding="0" cellspacing="0">
																	<tr>
																	<td style="padding-right: 5px; vertical-align:top">
																	<asp:TextBox runat="server" id="OrderDate" Columns="20" MaxLength="20" onkeyup="DateFormat(this, this.value, event.keyCode, 'mm/dd/yyyy')" cssclass="field_input">
																	</asp:TextBox></td>
																	<td style="padding-right: 5px; white-space:nowrap;">
																	<%# SystemUtils.GenerateIncrementDecrementButtons(true, Container.FindControl("OrderDate"),"DateTextBox","mm/dd/yyyy","","") %>
																	</td>
																	<td style="padding-right: 5px">
																	<Selectors:CalendarExtendarClass runat="server" ID="OrderDateCalendarExtender" TargetControlID="OrderDate" CssClass="MyCalendar" Format="d">
																	</Selectors:CalendarExtendarClass>&nbsp;
																	<BaseClasses:TextBoxMaxLengthValidator runat="server" id="OrderDateTextBoxMaxLengthValidator" ControlToValidate="OrderDate" ErrorMessage="&lt;%# GetResourceValue(&quot;Val:ValueTooLong&quot;, &quot;AuditTrail&quot;).Replace(&quot;{FieldName}&quot;, &quot;Order Date&quot;) %>">																	</BaseClasses:TextBoxMaxLengthValidator></td>
																	</tr>
																	</table>
																	</td>
																			<td class="ttc" style="white-space:nowrap;" ><table border="0" cellpadding="0" cellspacing="0">
																	<tr>
																	<td style="padding-right: 5px; vertical-align:top">
																	<asp:TextBox runat="server" id="RequiredDate" Columns="20" MaxLength="20" onkeyup="DateFormat(this, this.value, event.keyCode, 'mm/dd/yyyy')" cssclass="field_input">
																	</asp:TextBox></td>
																	<td style="padding-right: 5px; white-space:nowrap;">
																	<%# SystemUtils.GenerateIncrementDecrementButtons(true, Container.FindControl("RequiredDate"),"DateTextBox","mm/dd/yyyy","","") %>
																	</td>
																	<td style="padding-right: 5px">
																	<Selectors:CalendarExtendarClass runat="server" ID="RequiredDateCalendarExtender" TargetControlID="RequiredDate" CssClass="MyCalendar" Format="d">
																	</Selectors:CalendarExtendarClass>&nbsp;
																	<BaseClasses:TextBoxMaxLengthValidator runat="server" id="RequiredDateTextBoxMaxLengthValidator" ControlToValidate="RequiredDate" ErrorMessage="&lt;%# GetResourceValue(&quot;Val:ValueTooLong&quot;, &quot;AuditTrail&quot;).Replace(&quot;{FieldName}&quot;, &quot;Required Date&quot;) %>">																	</BaseClasses:TextBoxMaxLengthValidator></td>
																	</tr>
																	</table>
																	</td>
																			<td class="ttc" style="white-space:nowrap;" ><table border="0" cellpadding="0" cellspacing="0">
																	<tr>
																	<td style="padding-right: 5px; vertical-align:top">
																	<asp:TextBox runat="server" id="ShippedDate" Columns="20" MaxLength="20" onkeyup="DateFormat(this, this.value, event.keyCode, 'mm/dd/yyyy')" cssclass="field_input">
																	</asp:TextBox></td>
																	<td style="padding-right: 5px; white-space:nowrap;">
																	<%# SystemUtils.GenerateIncrementDecrementButtons(true, Container.FindControl("ShippedDate"),"DateTextBox","mm/dd/yyyy","","") %>
																	</td>
																	<td style="padding-right: 5px">
																	<Selectors:CalendarExtendarClass runat="server" ID="ShippedDateCalendarExtender" TargetControlID="ShippedDate" CssClass="MyCalendar" Format="d">
																	</Selectors:CalendarExtendarClass>&nbsp;
																	<BaseClasses:TextBoxMaxLengthValidator runat="server" id="ShippedDateTextBoxMaxLengthValidator" ControlToValidate="ShippedDate" ErrorMessage="&lt;%# GetResourceValue(&quot;Val:ValueTooLong&quot;, &quot;AuditTrail&quot;).Replace(&quot;{FieldName}&quot;, &quot;Shipped Date&quot;) %>">																	</BaseClasses:TextBoxMaxLengthValidator></td>
																	</tr>
																	</table>
																	</td>
																			<td class="ttc" style="white-space:nowrap;" ><asp:DropDownList runat="server" id="ShipVia" cssclass="field_input" onkeypress="dropDownListTypeAhead(this,false)">
																	</asp:DropDownList>
																	<Selectors:FvLlsHyperLink runat="server" id="ShipViaFvLlsHyperLink" ControlToUpdate="ShipVia" Text="&lt;%# GetResourceValue(&quot;LLS:Text&quot;, &quot;AuditTrail&quot;) %>" MinListItems="100" Table="Shippers" Field="Shippers_.ShipperID" DisplayField="Shippers_.CompanyName">																	</Selectors:FvLlsHyperLink>&nbsp;
																	<asp:RequiredFieldValidator runat="server" id="ShipViaRequiredFieldValidator" ControlToValidate="ShipVia" ErrorMessage="&lt;%# GetResourceValue(&quot;Val:ValueIsRequired&quot;, &quot;AuditTrail&quot;).Replace(&quot;{FieldName}&quot;, &quot;Ship Via&quot;) %>" enabled="True" initialvalue="--PLEASE_SELECT--" text="*">																	</asp:RequiredFieldValidator></td>
																			<td class="ttc" style="white-space:nowrap;" ><table border="0" cellpadding="0" cellspacing="0">
																	<tr>
																	<td style="padding-right: 5px; vertical-align:top">
																	<asp:TextBox runat="server" id="Freight" Columns="20" MaxLength="20" onkeyup="adjustCurrency(this, event.keyCode,'$', '.', 'False');" cssclass="field_input">
																	</asp:TextBox></td>
																	<td style="padding-right: 5px; white-space:nowrap;">
																	<%# SystemUtils.GenerateIncrementDecrementButtons(true, Container.FindControl("Freight"),"CurrencyTextBox","$",".","False") %>
																	</td>
																	<td style="padding-right: 5px">
																	&nbsp;
																	<BaseClasses:TextBoxMaxLengthValidator runat="server" id="FreightTextBoxMaxLengthValidator" ControlToValidate="Freight" ErrorMessage="&lt;%# GetResourceValue(&quot;Val:ValueTooLong&quot;, &quot;AuditTrail&quot;).Replace(&quot;{FieldName}&quot;, &quot;Freight&quot;) %>">																	</BaseClasses:TextBoxMaxLengthValidator></td>
																	</tr>
																	</table>
																	</td>
																			<td class="ttc" style="white-space:nowrap;" ><asp:TextBox runat="server" id="ShipName" Columns="40" MaxLength="40" cssclass="field_input">
																	</asp:TextBox>&nbsp;
																	<BaseClasses:TextBoxMaxLengthValidator runat="server" id="ShipNameTextBoxMaxLengthValidator" ControlToValidate="ShipName" ErrorMessage="&lt;%# GetResourceValue(&quot;Val:ValueTooLong&quot;, &quot;AuditTrail&quot;).Replace(&quot;{FieldName}&quot;, &quot;Ship Name&quot;) %>">																	</BaseClasses:TextBoxMaxLengthValidator></td>
																			<td class="ttc" style="white-space:nowrap;" ><asp:TextBox runat="server" id="ShipAddress" Columns="50" MaxLength="50" cssclass="field_input">
																	</asp:TextBox>&nbsp;
																	<BaseClasses:TextBoxMaxLengthValidator runat="server" id="ShipAddressTextBoxMaxLengthValidator" ControlToValidate="ShipAddress" ErrorMessage="&lt;%# GetResourceValue(&quot;Val:ValueTooLong&quot;, &quot;AuditTrail&quot;).Replace(&quot;{FieldName}&quot;, &quot;Ship Address&quot;) %>">																	</BaseClasses:TextBoxMaxLengthValidator></td>
																			<td class="ttc" style="white-space:nowrap;" ><asp:TextBox runat="server" id="ShipCity" Columns="15" MaxLength="15" cssclass="field_input">
																	</asp:TextBox>&nbsp;
																	<BaseClasses:TextBoxMaxLengthValidator runat="server" id="ShipCityTextBoxMaxLengthValidator" ControlToValidate="ShipCity" ErrorMessage="&lt;%# GetResourceValue(&quot;Val:ValueTooLong&quot;, &quot;AuditTrail&quot;).Replace(&quot;{FieldName}&quot;, &quot;Ship City&quot;) %>">																	</BaseClasses:TextBoxMaxLengthValidator></td>
																			<td class="ttc" style="white-space:nowrap;" ><asp:TextBox runat="server" id="ShipRegion" Columns="15" MaxLength="15" cssclass="field_input">
																	</asp:TextBox>&nbsp;
																	<BaseClasses:TextBoxMaxLengthValidator runat="server" id="ShipRegionTextBoxMaxLengthValidator" ControlToValidate="ShipRegion" ErrorMessage="&lt;%# GetResourceValue(&quot;Val:ValueTooLong&quot;, &quot;AuditTrail&quot;).Replace(&quot;{FieldName}&quot;, &quot;Ship Region&quot;) %>">																	</BaseClasses:TextBoxMaxLengthValidator></td>
																			<td class="ttc" style="white-space:nowrap;" ><asp:TextBox runat="server" id="ShipPostalCode" Columns="10" MaxLength="10" cssclass="field_input">
																	</asp:TextBox>&nbsp;
																	<BaseClasses:TextBoxMaxLengthValidator runat="server" id="ShipPostalCodeTextBoxMaxLengthValidator" ControlToValidate="ShipPostalCode" ErrorMessage="&lt;%# GetResourceValue(&quot;Val:ValueTooLong&quot;, &quot;AuditTrail&quot;).Replace(&quot;{FieldName}&quot;, &quot;Ship Postal Code&quot;) %>">																	</BaseClasses:TextBoxMaxLengthValidator></td>
																			<td class="ttc" style="white-space:nowrap;" ><asp:TextBox runat="server" id="ShipCountry" Columns="15" MaxLength="15" cssclass="field_input">
																	</asp:TextBox>&nbsp;
																	<BaseClasses:TextBoxMaxLengthValidator runat="server" id="ShipCountryTextBoxMaxLengthValidator" ControlToValidate="ShipCountry" ErrorMessage="&lt;%# GetResourceValue(&quot;Val:ValueTooLong&quot;, &quot;AuditTrail&quot;).Replace(&quot;{FieldName}&quot;, &quot;Ship Country&quot;) %>">																	</BaseClasses:TextBoxMaxLengthValidator></td>
																		</tr>
																	
															</AuditTrail:OrdersTableControlRow>
													</ITEMTEMPLATE>
											</asp:Repeater>
																</table>
															</td>
														</tr>
<!-- #EndRegion DataViewArea -->
													</table>
												</td>
											</tr>
										</table>
									</td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
				</asp:panel>
			</td>
		</tr>
	</table>

								</AuditTrail:OrdersTableControl>
							
    
								</ContentTemplate></asp:TabPanel>

				</asp:TabContainer></ContentTemplate>
		</asp:UpdatePanel>
		

<!-- #Region PageButtons -->
                                    
                                    <table cellpadding="0" cellspacing="0" border="0" id="Table1">
                                        <tr>
                                        <td class="recordPanelButtonsAlignment">
                                        <table cellpadding="0" cellspacing="0" border="0">
										<tr >
																		<td ><AuditTrail:ThemeButton runat="server" id="SaveButton" button-causesvalidation="true" button-commandname="UpdateData" button-redirecturl="Back" button-text="&lt;%# GetResourceValue(&quot;Btn:Save&quot;, &quot;AuditTrail&quot;) %>" postback="True">
			</AuditTrail:ThemeButton></td>
																		<td ></td>
																		<td ></td>
																		<td ></td>
																		<td ><AuditTrail:ThemeButton runat="server" id="CancelButton" button-causesvalidation="false" button-commandname="Redirect" button-redirecturl="Back" button-text="&lt;%# GetResourceValue(&quot;Btn:Cancel&quot;, &quot;AuditTrail&quot;) %>">
			</AuditTrail:ThemeButton></td>
										</tr></table>
                                        </td>
                                        </tr>
                                    </table>
                                    
<!-- #EndRegion PageButtons --> <div id="detailPopup" class="detailRolloverPopup" onmouseout="detailRolloverPopupClose();" onmouseover="clearTimeout(gPopupTimer);"></div>
                        </td>
                        </tr>
                        </table>
                    </td>
                </tr>
                </table>
                </td>
                <td class="pcR"></td>
            </tr>
            <tr>
                <td class="pcBL"></td>
                <td class="pcB">
<!-- #Region PageFooter --> 
				
                <AuditTrail:Footer runat="server" id="PageFooter">
		</AuditTrail:Footer>
<!-- #EndRegion PageFooter --> 
				</td>
                <td class="pcBR"></td>
            </tr>
            </table>
            </td>
            <td class="pbR"><img src="../Images/space.gif" alt=""/></td>
            </tr>
            <tr>
            <td class="pbBL"><img src="../Images/space.gif" alt=""/></td>
            <td class="pbB"><img src="../Images/space.gif" alt=""/></td>
            <td class="pbBR"><img src="../Images/space.gif" alt=""/></td>
        </tr>
        </table>
        </td>
        </tr>
        </table>
        <asp:ValidationSummary id="ValidationSummary1" ShowMessageBox="true" ShowSummary="false" runat="server"></asp:ValidationSummary></form>
    </body>
</html>
