home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
61.19.244.139
/
61.19.244.139.zip
/
61.19.244.139
/
wsCompulTransfer
/
RT
/
Policy.aspx
< prev
next >
Wrap
Text File
|
2013-06-07
|
5KB
|
111 lines
<%@ page language="VB" autoeventwireup="false" inherits="Policy, App_Web_jhv1ggsm" %>
<!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 runat="server">
<title>ตารางข้อมูลเลขที่กรมธรรม์</title>
<base target="_top" />
<script type="text/javascript">
var btn1, txtshText;
var oldWord;
function pageLoad() {
txtshText = $get("<%=TextBox1.ClientID%>");
}
function pageLoadState(isPostBack) {
if (!isPostBack) {
btn1 = $get("<%=Button1.ClientId%>");
btn1.value = "สืบค้น";
}
btn1.disabled = false;
setTimeout("setTextBoxFocus();", 100);
}
function setTextBoxFocus() {
txtshText.focus();
if (txtshText.createTextRange) {
var fr = txtshText.createTextRange();
fr.moveStart('character', txtshText.value.length);
fr.collapse();
fr.select();
}
}
function setMouseOverColor(element) {
oldgridSelectedColor = element.style.backgroundColor;
element.style.backgroundColor = 'yellow';
element.style.cursor = 'hand';
element.style.textDecoration = 'underline';
}
function setMouseOutColor(element) {
element.style.backgroundColor = oldgridSelectedColor;
element.style.textDecoration = 'none';
}
function selectValue(value) {
window.returnValue = value;
window.close();
}
function CallWait(c) {
setTimeout("CallWaitAsync();", 500);
return true;
}
function CallWaitAsync() {
btn1.disabled = true;
btn1.value = "กำลังสืบค้น";
//return true;
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:ScriptManager ID="ScriptManager2" runat="server" />
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<table>
<tr>
<td>
<asp:Label ID="Label46" runat="server" Style="text-align: right" Text="<%$ Resources:Resource,PRBMC01Label46 %>"></asp:Label><asp:Label ID="lblW19" runat="server" Text=" " Width="5px">:</asp:Label>
</td>
<td>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
</td>
<td>
<asp:Button ID="Button1" runat="server" Text="ค้นหา" />
</td>
</tr>
<tr>
<td colspan="3">
<asp:GridView ID="gvPolicyList" runat="server" AutoGenerateColumns="False"
CellPadding="4" ForeColor="#333333" GridLines="None" Width="100%">
<RowStyle BackColor="#EFF3FB" />
<Columns>
<asp:BoundField DataField="TextField" HeaderText="<%$ Resources:Resource,PRBMC01Label46 %>" />
</Columns>
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<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>
</td>
</tr>
<tr>
<td>
<asp:Button id="btnPrev" runat="server" Text="หน้าก่อน" />
</td>
<td style="text-align:center">หน้าที่:
<asp:Label ID="lblCurrentPage" runat="server" Text="Label"></asp:Label>
</td>
<td>
<asp:Button ID="btnNext" runat="server" Text="หน้าถัดไป" />
</td>
</tr>
</table>
</ContentTemplate>
</asp:UpdatePanel>
</div>
</form>
</body>
</html>