cudreg-saml2/PersonalId/ShowViewPersons.aspx
2025-06-08 16:22:20 +07:00

77 lines
No EOL
15 KiB
Text

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register Tagprefix="Persons" Namespace="Persons.UI.Controls.ShowViewPersons" %>
<%@ Register Tagprefix="Selectors" Namespace="Persons" %>
<%@ Page Language="vb" EnableEventValidation="false" AutoEventWireup="false" CodeFile="ShowViewPersons.aspx.vb" Culture="th-TH" MasterPageFile="..\Master Pages\HorizontalMenu.master" Inherits="Persons.UI.ShowViewPersons" %>
<%@ Register Tagprefix="Persons" TagName="Pagination" Src="../Shared/Pagination.ascx" %>
<%@ Register Tagprefix="Persons" TagName="ThemeButton" Src="../Shared/ThemeButton.ascx" %>
<%@ Register Tagprefix="BaseClasses" Namespace="BaseClasses.Web.UI.WebControls" Assembly="BaseClasses" %><asp:Content id="PageSection" ContentPlaceHolderID="PageContent" Runat="server">
<a id="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="Updating" />
</div>
</ProgressTemplate>
</asp:UpdateProgress>
<asp:UpdatePanel runat="server" id="UpdatePanel1" UpdateMode="Conditional">
<ContentTemplate>
<input type="hidden" id="_clientSideIsPostBack" name="clientSideIsPostBack" runat="server" />
<table cellpadding="0" cellspacing="0" border="0"><tr><td><Persons:View_PersonsTableControl runat="server" id="View_PersonsTableControl"> <table class="dv" cellpadding="0" cellspacing="0" border="0"><tr><td class="dh"><table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td class="dhel"><img src="../Images/space.gif" alt="" /></td><td class="dheci" valign="middle"><asp:CollapsiblePanelExtender id="View_PersonsTableControlPanelExtender" runat="server" TargetControlid="View_PersonsTableControlCollapsibleRegion" ExpandControlID="View_PersonsTableControlIcon" CollapseControlID="View_PersonsTableControlIcon" ImageControlID="View_PersonsTableControlIcon" ExpandedImage="~/images/icon_panelcollapse.gif" CollapsedImage="~/images/icon_panelexpand.gif" SuppressPostBack="true" />
<asp:ImageButton id="View_PersonsTableControlIcon" runat="server" ToolTip="&lt;%# GetResourceValue(&quot;Btn:ExpandCollapse&quot;) %&gt;" 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="View_PersonsTitle" Text="ประวัติทั่่วไป"> </asp:Literal></td></tr></table>
</td><td class="dher"><img src="../Images/space.gif" alt="" /></td></tr></table>
</td></tr><tr><td><asp:panel id="View_PersonsTableControlCollapsibleRegion" runat="server"><table class="dBody" cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td><table cellpadding="0" cellspacing="0" border="0"><tr><td class="fila"><%# GetResourceValue("Txt:SearchFor", "Persons") %></td><td><%= SystemUtils.GenerateEnterKeyCaptureBeginTag(FindControlRecursively("View_PersonsSearchButton1"))%>
<asp:TextBox runat="server" id="View_PersonsSearch1" columns="50" cssclass="Search_Input"> </asp:TextBox>
<asp:AutoCompleteExtender id="View_PersonsSearch1AutoCompleteExtender" runat="server" TargetControlID="View_PersonsSearch1" ServiceMethod="GetAutoCompletionList_View_PersonsSearch1" MinimumPrefixLength="2" CompletionInterval="700" CompletionSetCount="10" CompletionListCssClass="autotypeahead_completionListElement" CompletionListItemCssClass="autotypeahead_listItem " CompletionListHighlightedItemCssClass="autotypeahead_highlightedListItem">
</asp:AutoCompleteExtender>
<%= SystemUtils.GenerateEnterKeyCaptureEndTag(FindControlRecursively("View_PersonsSearchButton1"))%>
</td><td class="filbc"><Persons:ThemeButton runat="server" id="View_PersonsSearchButton1" button-causesvalidation="False" button-commandname="Search" button-text="&lt;%# GetResourceValue(&quot;Btn:SearchGoButtonText&quot;, &quot;Persons&quot;) %>"></Persons:ThemeButton></td></tr><tr><td class="fila"><asp:Literal runat="server" id="ArmyIdLabel2" Text="เหล่าทัพ"> </asp:Literal></td><td><%= SystemUtils.GenerateEnterKeyCaptureBeginTag(FindControlRecursively("View_PersonsFilterButton"))%>
<asp:DropDownList runat="server" id="ArmyIdFromFilter1" autopostback="True" cssclass="Filter_Input"> </asp:DropDownList>
<span class="rft"></span>
<%= SystemUtils.GenerateEnterKeyCaptureEndTag(FindControlRecursively("View_PersonsFilterButton"))%>
</td><td class="filbc" rowspan="3"></td></tr><tr><td class="fila"><asp:Literal runat="server" id="SectionIdLabel" Text="หน่วย"> </asp:Literal></td><td><%= SystemUtils.GenerateEnterKeyCaptureBeginTag(FindControlRecursively("View_PersonsFilterButton1"))%>
<asp:DropDownList runat="server" id="SectionIdFromFilter" autopostback="True" cssclass="Filter_Input"> </asp:DropDownList> <span class="rft"></span> <%= SystemUtils.GenerateEnterKeyCaptureEndTag(FindControlRecursively("View_PersonsFilterButton1"))%>
</td></tr><tr><td class="fila"><asp:Literal runat="server" id="DeptIdLabel" Text="กอง/แผนก"> </asp:Literal></td><td style="font-size:8pt">
<asp:DropDownList runat="server" id="DeptIdFilter" autopostback="True" cssclass="Filter_Input" onkeypress="dropDownListTypeAhead(this,false)"> </asp:DropDownList></td></tr><tr><td class="fila"><asp:Literal runat="server" id="RankLevelLabel" Text="ระดับยศ"> </asp:Literal></td><td><asp:DropDownList runat="server" id="RankLevelFilter" autopostback="True" cssclass="Filter_Input" onkeypress="dropDownListTypeAhead(this,false)"> </asp:DropDownList> </td><td class="filbc"></td></tr><tr><td class="fila"><asp:Literal runat="server" id="RetireLabel1" Text="เกษียณ"> </asp:Literal></td><td><asp:DropDownList runat="server" id="RetireFilter" autopostback="True" cssclass="Filter_Input" onkeypress="dropDownListTypeAhead(this,false)"> </asp:DropDownList> </td><td class="filbc"></td></tr></table>
</td></tr><tr><td class="pr"><table cellpadding="0" cellspacing="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="View_PersonsPDFButton" causesvalidation="false" commandname="ReportData" imageurl="../Images/ButtonBarPDFExport.gif" onmouseout="this.src='../Images/ButtonBarPDFExport.gif'" onmouseover="this.src='../Images/ButtonBarPDFExportOver.gif'" tooltip="&lt;%# GetResourceValue(&quot;Btn:PDF&quot;, &quot;Persons&quot;) %>">
</asp:ImageButton></td><td class="prbbc"><asp:ImageButton runat="server" id="View_PersonsWordButton" causesvalidation="false" commandname="ExportToWord" imageurl="../Images/ButtonBarWordExport.gif" onmouseout="this.src='../Images/ButtonBarWordExport.gif'" onmouseover="this.src='../Images/ButtonBarWordExportOver.gif'" tooltip="&lt;%# GetResourceValue(&quot;Btn:Word&quot;, &quot;Persons&quot;) %>">
</asp:ImageButton></td><td class="prbbc"><asp:ImageButton runat="server" id="View_PersonsExportExcelButton" causesvalidation="false" commandname="ExportDataExcel" imageurl="../Images/ButtonBarExcelExport.gif" onmouseout="this.src='../Images/ButtonBarExcelExport.gif'" onmouseover="this.src='../Images/ButtonBarExcelExportOver.gif'" tooltip="&lt;%# GetResourceValue(&quot;Btn:ExportExcel&quot;, &quot;Persons&quot;) %>">
</asp:ImageButton></td><td class="prbbc"><asp:ImageButton runat="server" id="View_PersonsExportCSVButton" causesvalidation="false" commandname="ExportData" imageurl="../Images/ButtonBarCSVExport.gif" onmouseout="this.src='../Images/ButtonBarCSVExport.gif'" onmouseover="this.src='../Images/ButtonBarCSVExportOver.gif'" tooltip="&lt;%# GetResourceValue(&quot;Btn:Export&quot;, &quot;Persons&quot;) %>">
</asp:ImageButton></td><td class="prbbc"><asp:ImageButton runat="server" id="View_PersonsRefreshButton" 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;Persons&quot;) %>">
</asp:ImageButton></td><td class="prbbc"><asp:ImageButton runat="server" id="View_PersonsResetButton" 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;Persons&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"><Persons:Pagination runat="server" id="View_PersonsPagination"></Persons:Pagination></td><td><img src="../Images/paginationRowEdgeR.gif" alt="" /></td><td width="100%">&nbsp;</td></tr></table>
</td></tr><tr><td class="tre"><table cellpadding="0" cellspacing="0" border="0" width="100%" onkeydown="captureUpDownKey(this, event)"><tr class="tch"><th class="thc" scope="col"><img src="../Images/space.gif" height="1" width="1" alt="" /></th><th class="thc" scope="col"><asp:LinkButton runat="server" id="PersonalNameLabel" Text="ยศ ชื่อ นามสกุล" CausesValidation="False"> </asp:LinkButton></th><th class="thc" scope="col"><asp:LinkButton runat="server" id="ArmSNameLabel" Text="เหล่า" CausesValidation="False"> </asp:LinkButton></th><th class="thc" scope="col"><asp:LinkButton runat="server" id="SectionAbbvrNameLabel" Text="หน่วย" CausesValidation="False"> </asp:LinkButton></th><th class="thc" scope="col"><asp:LinkButton runat="server" id="TitleLabel" Text="ตำแหน่ง" CausesValidation="False"> </asp:LinkButton></th><th class="thc" scope="col"><asp:Label runat="server" id="CommissionLabel" Text="หน้าที่/งานที่ปฏิบัติ"> </asp:Label></th><th class="thc" scope="col"><asp:LinkButton runat="server" id="RankDateLabel" Text="วันที่ติดยศ" CausesValidation="False"> </asp:LinkButton>
<asp:LinkButton runat="server" id="RankDateLabel1" Text="ครองยศ" CausesValidation="False"> </asp:LinkButton></th><th class="thc" scope="col"><asp:LinkButton runat="server" id="RetireLabel" Text="เกษียณ" CausesValidation="False"> </asp:LinkButton></th><th class="thc" scope="col"><asp:LinkButton runat="server" id="BornLabel" Text="กำเนิด" CausesValidation="False"> </asp:LinkButton>
</th><th class="thc" scope="col"><asp:LinkButton runat="server" id="BProvinceLabel" Text="จังหวัดที่เกิด" CausesValidation="False"> </asp:LinkButton>
</th><th class="thc" scope="col"><asp:LinkButton runat="server" id="SAmoutLabel" Text="เงินเดือน" CausesValidation="False"> </asp:LinkButton>
</th><th class="thc" scope="col"><asp:LinkButton runat="server" id="CEduLabel" Text="คุณวุฒิ" CausesValidation="False"> </asp:LinkButton>
</th><th class="thc" scope="col"><asp:LinkButton runat="server" id="MobilePhoneLabel" Text="โทร." CausesValidation="False"> </asp:LinkButton></th><th class="thc" scope="col"><asp:Literal runat="server" id="pictureLabel" Text="Picture"> </asp:Literal></th></tr><asp:Repeater runat="server" id="View_PersonsTableControlRepeater"> <ITEMTEMPLATE> <Persons:View_PersonsTableControlRow runat="server" id="View_PersonsTableControlRow">
<tr><td class="ttc" style="white-space: nowrap"><asp:ImageButton runat="server" id="View_PersonsRowViewButton" causesvalidation="False" commandname="Redirect" cssclass="button_link" imageurl="../Images/icon_view.gif" requiredroles="&lt;PRoles>NO_ACCESS&lt;/PRoles>" tooltip="&lt;%# GetResourceValue(&quot;Txt:ViewRecord&quot;, &quot;Persons&quot;) %>">
</asp:ImageButton>
<asp:ImageButton runat="server" id="View_PersonsRowEditButton" causesvalidation="False" commandname="Redirect" cssclass="button_link" imageurl="../Images/icon_edit.gif" requiredroles="&lt;PRoles>NO_ACCESS&lt;/PRoles>" tooltip="&lt;%# GetResourceValue(&quot;Txt:EditRecord&quot;, &quot;Persons&quot;) %>">
</asp:ImageButton></td><td class="ttc" style="white-space: nowrap"><asp:Literal runat="server" id="RankAndName"></asp:Literal></td><td class="ttc"><asp:Literal runat="server" id="ArmSName"></asp:Literal></td><td class="ttc"><asp:Literal runat="server" id="DeptAbbvr"></asp:Literal>
<asp:Literal runat="server" id="SectionAbbvrName"></asp:Literal> </td><td class="ttc"><asp:Literal runat="server" id="Title"></asp:Literal></td><td class="ttc" style="text-align:left;"><asp:Literal runat="server" id="Commission"></asp:Literal></td><td class="ttc" style="white-space:nowrap;text-align:center;"><asp:Literal runat="server" id="RankDate"></asp:Literal>
<asp:Literal runat="server" id="RankDate1"></asp:Literal></td><td class="ttc"><asp:Literal runat="server" id="Retire"></asp:Literal></td><td class="ttc"><asp:Literal runat="server" id="Born"></asp:Literal> </td><td class="ttc"><asp:Literal runat="server" id="BProvince"></asp:Literal> </td><td class="ttc" style="text-align: right;"><span style="white-space:nowrap;">
<asp:Literal runat="server" id="SAmout"></asp:Literal></span>
</td><td class="ttc"><asp:Literal runat="server" id="CEdu"></asp:Literal> </td><td class="ttc"><asp:Literal runat="server" id="MobilePhone"></asp:Literal></td><td class="ttc"><asp:Image runat="server" id="picture" style="max-width:120px;margin:5px;"></asp:Image></td></tr></Persons:View_PersonsTableControlRow>
</ITEMTEMPLATE>
</asp:Repeater>
<tr><td class="ttc" style="text-align:right"></td><td class="ttc" style="text-align:right"></td><td class="ttc" style="text-align:right"></td><td class="ttc" style="text-align:right"></td><td class="ttc" style="text-align:right"></td><td class="ttc" style="text-align:right"></td><td class="ttc" style="text-align:right"></td><td class="ttc" style="text-align:right"></td><td class="ttc" style="text-align:right"></td><td class="ttc" style="text-align:right"><%# GetResourceValue("Txt:GrandTotal", "Persons") %></td><td class="ttc" style="text-align:right"><asp:Label runat="server" id="SAmoutGrandTotal"> </asp:Label></td><td class="ttc" style="text-align:right"></td><td class="ttc" style="text-align:right"></td><td class="ttc" style="text-align:right"></td></tr></table>
</td></tr></table>
</asp:panel></td></tr></table>
</Persons:View_PersonsTableControl>
</td></tr></table>
</ContentTemplate>
</asp:UpdatePanel>
<div id="detailPopup" class="detailRolloverPopup" onmouseout="detailRolloverPopupClose();" onmouseover="clearTimeout(gPopupTimer);"></div>
<asp:ValidationSummary id="ValidationSummary1" ShowMessageBox="true" ShowSummary="false" runat="server"></asp:ValidationSummary>
</asp:Content>