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

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

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

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

<%@ 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" %>

<%@ Page Language="vb" EnableEventValidation="false" AutoEventWireup="false" CodeFile="EditEmployeesTable.aspx.vb" Culture="en-US" Inherits="AuditTrail.UI.EditEmployeesTable" %>
<%@ 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" %>
<!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:EmployeesTableControl runat="server" id="EmployeesTableControl">
									

    <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="EmployeesTableControlCPExtender" runat="server" TargetControlid="EmployeesTableControlCollapsibleRegion" ExpandControlID="EmployeesTableControlToggleIcon" CollapseControlID="EmployeesTableControlToggleIcon" ImageControlID="EmployeesTableControlToggleIcon" ExpandedImage="~/images/icon_panelcollapse.gif" CollapsedImage="~/images/icon_panelexpand.gif" SuppressPostBack="true"/>
						<asp:ImageButton id="EmployeesTableControlToggleIcon" 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(&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="EmployeesTableControlCollapsibleRegion" 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("EmployeesTableControl$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("EmployeesTableControl$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("EmployeesTableControl$EmployeesFilterButton")) %><asp:DropDownList runat="server" id="LastNameFilter" cssclass="Filter_Input" onkeypress="dropDownListTypeAhead(this,false)" AutoPostBack="True">
</asp:DropDownList>
										<%= SystemUtils.GenerateEnterKeyCaptureEndTag(FindControl("EmployeesTableControl$EmployeesFilterButton")) %>
									</td>
									<td class="filbc" rowspan="2" >
									</td>
								</tr>
								<tr >
									<td class="fila" ><asp:Literal runat="server" id="PostalCodeLabel" Text="Postal Code">
</asp:Literal>
									</td>
									<td >
										<%= SystemUtils.GenerateEnterKeyCaptureBeginTag(FindControl("EmployeesTableControl$EmployeesFilterButton")) %><asp:DropDownList runat="server" id="PostalCodeFilter" cssclass="Filter_Input" onkeypress="dropDownListTypeAhead(this,false)" AutoPostBack="True">
</asp:DropDownList>
										<%= SystemUtils.GenerateEnterKeyCaptureEndTag(FindControl("EmployeesTableControl$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="EmployeesAddButton" 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="EmployeesEditButton" 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="EmployeesDeleteButton" 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="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:Pagination runat="server" id="EmployeesPagination">
	</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="EmployeesToggleAll" onclick="toggleAllCheckboxes(this);">

	</asp:CheckBox></th>
																			<th class="thc" scope="col" ><asp:LinkButton runat="server" id="LastNameLabel1" Text="Last Name" CausesValidation="False">
	</asp:LinkButton></th>
																			<th class="thc" scope="col" ><asp:LinkButton runat="server" id="FirstNameLabel" Text="First Name" CausesValidation="False">
	</asp:LinkButton></th>
																			<th class="thc" scope="col" ><asp:LinkButton runat="server" id="TitleLabel" Text="Title" CausesValidation="False">
	</asp:LinkButton></th>
																			<th class="thc" scope="col" ><asp:LinkButton runat="server" id="TitleOfCourtesyLabel" Text="Title Of Courtesy" CausesValidation="False">
	</asp:LinkButton></th>
																			<th class="thc" scope="col" ><asp:LinkButton runat="server" id="BirthDateLabel" Text="Birth Date" CausesValidation="False">
	</asp:LinkButton></th>
																			<th class="thc" scope="col" ><asp:LinkButton runat="server" id="HireDateLabel" Text="Hire Date" CausesValidation="False">
	</asp:LinkButton></th>
																			<th class="thc" scope="col" ><asp:LinkButton runat="server" id="AddressLabel" Text="Address" CausesValidation="False">
	</asp:LinkButton></th>
																			<th class="thc" scope="col" ><asp:LinkButton runat="server" id="CityLabel" Text="City" CausesValidation="False">
	</asp:LinkButton></th>
																			<th class="thc" scope="col" ><asp:LinkButton runat="server" id="RegionLabel" Text="Region" CausesValidation="False">
	</asp:LinkButton></th>
																			<th class="thc" scope="col" ><asp:LinkButton runat="server" id="PostalCodeLabel1" Text="Postal Code" CausesValidation="False">
	</asp:LinkButton></th>
																			<th class="thc" scope="col" ><asp:LinkButton runat="server" id="CountryLabel" Text="Country" CausesValidation="False">
	</asp:LinkButton></th>
																			<th class="thc" scope="col" ><asp:LinkButton runat="server" id="HomePhoneLabel" Text="Home Phone" CausesValidation="False">
	</asp:LinkButton></th>
																			<th class="thc" scope="col" ><asp:LinkButton runat="server" id="ExtensionLabel" Text="Extension" CausesValidation="False">
	</asp:LinkButton></th>
																			<th class="thc" scope="col" ><asp:Literal runat="server" id="PhotoLabel" Text="Photo">
	</asp:Literal></th>
																			<th class="thc" scope="col" ><asp:Literal runat="server" id="NotesLabel" Text="Notes">
	</asp:Literal></th>
																			<th class="thc" scope="col" ><asp:LinkButton runat="server" id="ReportsToLabel" Text="Reports To" CausesValidation="False">
	</asp:LinkButton></th>
																			<th class="thc" scope="col" ><asp:LinkButton runat="server" id="CreatedOnLabel" Text="Created On" CausesValidation="False">
	</asp:LinkButton></th>
																			<th class="thc" scope="col" ><asp:LinkButton runat="server" id="CreatedByLabel" Text="Created By" CausesValidation="False">
	</asp:LinkButton></th>
																			<th class="thc" scope="col" ><asp:LinkButton runat="server" id="LastUpdatedOnLabel" Text="Last Updated On" CausesValidation="False">
	</asp:LinkButton></th>
																			<th class="thc" scope="col" ><asp:LinkButton runat="server" id="LastUpdatedByLabel" Text="Last Updated By" CausesValidation="False">
	</asp:LinkButton></th>
																		</tr>
																	
																	<asp:Repeater runat="server" id="EmployeesTableControlRepeater">
		<ITEMTEMPLATE>
				<AuditTrail:EmployeesTableControlRow runat="server" id="EmployeesTableControlRow">
						
																		<tr >
																			<td class="ticnb" scope="row" ><asp:ImageButton runat="server" id="EmployeesRowViewButton" 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="EmployeesRowEditButton" 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="EmployeesRowDeleteButton" 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="EmployeesRecordRowSelection" onclick="moveToThisTableRow(this);">

						</asp:CheckBox></td>
																			<td class="ttc" 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="ttc" 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>
																			<td class="ttc" 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="ttc" 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>
																			<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="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="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="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>
																			<td class="ttc" 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="ttc" 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>
																			<td class="ttc" 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="ttc" 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>
																			<td class="ttc" 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="ttc" 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>
																			<td class="ttc" 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="ttc" >
																				<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>
																			<td class="ttc" style="white-space:nowrap;" ><FCKeditorV2:FCKeditor id="Notes" runat="server" Height="220" Width="335"  ToolbarStartExpanded="False" ToolbarSet = "ISTable" AutoDetectLanguage="false" DefaultLanguage ="en" Visible="True"  ></FCKeditorV2:FCKeditor></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="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>
																			<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="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="ttc" 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>
																			<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="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>
																			<td class="ttc" 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>
																	
				</AuditTrail:EmployeesTableControlRow>
		</ITEMTEMPLATE>
</asp:Repeater>
																</table>
															</td>
														</tr>
<!-- #EndRegion DataViewArea -->
													</table>
												</td>
											</tr>
										</table>
									</td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
				</asp:panel>
			</td>
		</tr>
	</table>

</AuditTrail:EmployeesTableControl>
</ContentTemplate>
</asp:UpdatePanel>


<!-- #Region PageButtons -->
<!-- #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>
