home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
61.19.244.139
/
61.19.244.139.zip
/
61.19.244.139
/
cp2013
/
Publish
/
PRB_A002.aspx
< prev
next >
Wrap
Text File
|
2013-06-10
|
17KB
|
233 lines
<%@ page language="VB" masterpagefile="~/PRB_MP01.master" autoeventwireup="false" inherits="PRB_A002, App_Web_d2nodv3g" title="จัดการสิทธิ์การเข้าถึงข้อมูล" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ACT" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MPcphContent" runat="Server">
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<table cellpadding="0" cellspacing="0" id="tbContent" class="styletbContentSub">
<tr>
<td style="text-align: left; vertical-align: top">
<table cellpadding="0" cellspacing="0" style="width: 100%; vertical-align: middle;"
id="tbSearch">
<tr class="styletbFS">
<td colspan="5">
</td>
</tr>
<tr>
<td style="width: 10px">
</td>
<td style="width: 120px; text-align: left;">
<asp:DropDownList ID="ddlSearch" runat="server" Width="120px">
<asp:ListItem Value="0">รหัสตัวแทน</asp:ListItem>
<asp:ListItem Value="1">ชื่อ</asp:ListItem>
<asp:ListItem Value="2">นามสกุล</asp:ListItem>
<asp:ListItem Value="3">อีเมล์</asp:ListItem>
<asp:ListItem Value="4">รหัสบัตรประชาชน</asp:ListItem>
</asp:DropDownList>
</td>
<td style="width: 200px; text-align: left;">
<asp:TextBox ID="txtSearch" runat="server" Width="200px"></asp:TextBox>
</td>
<td style="text-align: left">
<asp:Button ID="btnSearch" runat="server" Text="<% $Resources: Resource,A002btnSearch %>"
Width="80px" />
</td>
<td style="width: 10px;">
</td>
</tr>
<tr>
<td class="styletbFS" colspan="5">
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" style="width: 100%; vertical-align: middle;"
id="tbgrdUser">
<tr>
<td style="width: 10px">
</td>
<td>
<asp:Panel ID="panGrdSearch" runat="server" Height="150px" HorizontalAlign="Left"
ScrollBars="Auto" Width="525px" Wrap="False">
<asp:GridView ID="grdSearch" runat="server" CellPadding="4" ForeColor="#333333" GridLines="None"
AutoGenerateColumns="False" Width="100%" CellSpacing="1">
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<RowStyle BackColor="#EFF3FB" />
<Columns>
<asp:CommandField SelectText="เลือก" ShowSelectButton="True">
<HeaderStyle HorizontalAlign="Center" Wrap="False" />
<ItemStyle HorizontalAlign="Center" Wrap="False" />
</asp:CommandField>
<asp:BoundField HeaderText="รหัสตัวแทน" DataField="i_ag">
<HeaderStyle HorizontalAlign="Center" Wrap="False" />
<ItemStyle HorizontalAlign="Left" Wrap="False" />
</asp:BoundField>
<asp:BoundField HeaderText="ชื่อ-นามสกุล" DataField="AgentName">
<HeaderStyle HorizontalAlign="Center" Wrap="False" />
<ItemStyle HorizontalAlign="Left" Wrap="False" />
</asp:BoundField>
<asp:BoundField HeaderText="Login Name" DataField="F_UserName">
<HeaderStyle HorizontalAlign="Center" Wrap="False" />
<ItemStyle HorizontalAlign="Left" Wrap="False" />
</asp:BoundField>
<asp:BoundField DataField="F_Email" HeaderText="E-Mail">
<HeaderStyle HorizontalAlign="Center" Wrap="False" />
<ItemStyle HorizontalAlign="Left" Wrap="False" />
</asp:BoundField>
<asp:CommandField SelectText="เลือก" ShowSelectButton="True">
<HeaderStyle HorizontalAlign="Center" Wrap="False" />
<ItemStyle HorizontalAlign="Center" Wrap="False" />
</asp:CommandField>
</Columns>
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<EditRowStyle BackColor="#2461BF" />
<AlternatingRowStyle BackColor="White" />
</asp:GridView>
</asp:Panel>
</td>
<td style="width: 10px">
</td>
</tr>
<tr>
<td class="styletbFS" colspan="3">
</td>
</tr>
<tr>
<td class="styletbFS" colspan="3">
</td>
</tr>
<tr>
<td class="styletbFS" colspan="3">
</td>
</tr>
</table>
<asp:Panel ID="panAuthUser" runat="server" Width="100%">
<table cellpadding="0" cellspacing="0" style="width: 100%; vertical-align: middle;"
id="tbAuthUser">
<tr>
<td style="width: 10px">
</td>
<td>
<asp:Label ID="lblAgent" runat="server" Text=">> "></asp:Label>
<asp:Label ID="lblAgentID" runat="server"></asp:Label>
<asp:Label ID="lblUserName" runat="server"></asp:Label><asp:Label ID="lblAgentDetail"
runat="server"></asp:Label>
</td>
<td style="width: 10px">
</td>
</tr>
<tr>
<td style="width: 10px">
</td>
<td>
<asp:Panel ID="panGrdAuth" runat="server" HorizontalAlign="Left" ScrollBars="Horizontal"
Width="525px" Wrap="False">
<asp:GridView ID="GrdAuth" runat="server" AutoGenerateColumns="False" CellPadding="4"
ForeColor="#333333" GridLines="None" Width="100%" CellSpacing="1" Height="100%">
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<RowStyle BackColor="#EFF3FB" />
<Columns>
<asp:TemplateField HeaderText="เลือกเมนู">
<ItemTemplate>
<asp:CheckBox ID="chkSelect" runat="server" Checked='<%# Bind("F_Menu_Select") %>'
AutoPostBack="True" OnCheckedChanged="chkSelect_CheckedChanged" />
</ItemTemplate>
<HeaderStyle HorizontalAlign="Center" Wrap="False" />
<ItemStyle HorizontalAlign="Center" Wrap="False" />
</asp:TemplateField>
<asp:TemplateField HeaderText="อ่าน/เขียน">
<ItemTemplate>
<asp:RadioButtonList ID="radReadWrite" runat="server" RepeatDirection="Horizontal">
<asp:ListItem Value="0">R/W</asp:ListItem>
<asp:ListItem Value="1">R</asp:ListItem>
</asp:RadioButtonList>
<asp:HiddenField ID="hddReadWrite" runat="server" Value='<%# Bind("F_Menu_Select_RW") %>' />
</ItemTemplate>
<HeaderStyle HorizontalAlign="Center" Wrap="False" />
<ItemStyle HorizontalAlign="Center" Wrap="False" />
</asp:TemplateField>
<asp:BoundField DataField="F_Menu_ID" HeaderText="รหัสเมนู">
<HeaderStyle HorizontalAlign="Center" Wrap="False" />
<ItemStyle HorizontalAlign="Left" Wrap="False" />
</asp:BoundField>
<asp:BoundField DataField="F_Menu_Name" HeaderText="ชื่อเมนู">
<HeaderStyle HorizontalAlign="Center" Wrap="False" />
<ItemStyle Wrap="False" HorizontalAlign="Left" />
</asp:BoundField>
<asp:BoundField DataField="F_Menu_Group" HeaderText="ประเภทเมนู">
<HeaderStyle HorizontalAlign="Center" Wrap="False" />
<ItemStyle Wrap="False" HorizontalAlign="Left" />
</asp:BoundField>
<asp:BoundField DataField="F_PageName" HeaderText="Page Name">
<HeaderStyle HorizontalAlign="Center" Wrap="False" />
<ItemStyle Wrap="False" HorizontalAlign="Left" />
</asp:BoundField>
</Columns>
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<EditRowStyle BackColor="#2461BF" />
<AlternatingRowStyle BackColor="White" />
</asp:GridView>
</asp:Panel>
</td>
<td style="width: 10px">
</td>
</tr>
<tr>
<td class="styletbFS" colspan="3">
</td>
</tr>
<tr>
<td style="width: 10px">
</td>
<td style="text-align: center">
<asp:Button ID="btnSave" runat="server" Text="Save" Width="80px" />
<asp:Button ID="btnCancel" runat="server" Text="Cancel" Width="80px" />
</td>
<td style="width: 10px">
</td>
</tr>
<tr>
<td class="styletbFS" colspan="3">
</td>
</tr>
</table>
</asp:Panel>
</td>
</tr>
</table>
</ContentTemplate>
</asp:UpdatePanel>
<asp:UpdateProgress ID="udp" runat="server" DisplayAfter="5" AssociatedUpdatePanelID="UpdatePanel1">
<ProgressTemplate>
<div style="top: 0px; height: 10000px; background-color: #FFFFFF; opacity: 0.40;
filter: alpha(opacity=40); vertical-align: middle; left: 0px; z-index: 999999;
width: 1500px; position: absolute; text-align: center;">
</div>
<div id="divUDP" align="center" valign="middle" runat="server" style="padding: 5px;
border: 1px solid #999999; position: absolute; left: 50%; top: 50%; visibility: visible;
vertical-align: middle; background-color: #FFFFFF; z-index: 200;">
<asp:Image ID="imgUDP" runat="server" ImageUrl="~/Images/preloaders32t.gif" /><br />
<asp:Label ID="lblUDP" runat="server" Text="<% $Resources: Resource,MP01lblUDP %>"></asp:Label>
</div>
</ProgressTemplate>
</asp:UpdateProgress>
</asp:Content>