home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
61.19.244.139
/
61.19.244.139.zip
/
61.19.244.139
/
CP_Realtime_publish
/
PRB_MC01.aspx.bak
< prev
next >
Wrap
Text File
|
2013-06-07
|
87KB
|
1,107 lines
<%@ Page Language="VB" MasterPageFile="~/PRB_MP01.master" AutoEventWireup="false"
CodeFile="PRB_MC01.aspx.vb" Inherits="PRB_MC01" Title="เพิ่มกรมธรรม์ประกันภัย" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ACT" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v10.1, Version=10.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<asp:Content ID="Content2" runat="server" ContentPlaceHolderID="head">
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="MPcphContent" runat="Server">
<script type="text/javascript">
function ClearCtrl() {
// document.getElementById('ctl00_MPcphContent_txtBarYear').value = "";
// document.getElementById('ctl00_MPcphContent_txtBookNo').value = "";
// document.getElementById('ctl00_MPcphContent_txtNo').value = "";
// document.getElementById('ctl00_MPcphContent_cboPolicyNo').selectedIndex = "-1";
}
</script>
<table cellpadding="0" cellspacing="0" id="tbContent" class="styletbContentSub">
<tr>
<td>
<table id="tbSubContent01" cellpadding="0" cellspacing="0" class="styletbBorder"
style="vertical-align: middle; text-align: center;">
<tr>
<td class="styletbFS">
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label1" runat="server" Style="font-weight: 700" Text="<%$ Resources:Resource,PRBMC01Label1 %>"></asp:Label>
<br />
</td>
</tr>
</table>
<table id="Table17" cellpadding="0" cellspacing="0" class="styletbBorder" style="text-align: left;
vertical-align: middle;">
<tr class="styletbFS">
<td>
</td>
</tr>
<tr>
<td class="styletbLineT">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="text-align: center">
<table id="Table18" cellpadding="0" cellspacing="0" style="text-align: left; vertical-align: middle;">
<tr class="styletbFS">
<td>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<div>
<asp:Panel ID="panKeyData" runat="server">
<asp:UpdatePanel ID="UpdatePanel3" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<table id="Table1" cellpadding="0" cellspacing="0" class="styletbBorder" style="text-align: left;
vertical-align: middle;">
<tr>
<td style="width: 10px">
</td>
<td>
<table cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td width="80">
<asp:Label ID="lblCoCode" runat="server" Style="font-weight: 700" Text="<%$ Resources:Resource,PRBMC01CoCode %>"
Width="80px"></asp:Label>
</td>
<td width="70">
<asp:Label ID="lblCoCodeD" runat="server" Style="font-weight: 700" Text="BUN"></asp:Label>
</td>
<td style="text-align: right">
<asp:Label ID="Label101" runat="server" Style="font-weight: 700" Text="<%$ Resources:Resource,PRBMC01Label101 %>"></asp:Label>
<asp:Label ID="lblAgName" runat="server"></asp:Label>
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td width="10">
<asp:Label ID="lblW4" runat="server" Text=" " Width="10px"></asp:Label>
</td>
<td style="text-align: right" width="125">
<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>
<dx:ASPxComboBox ID="cboPolicyNo" runat="server" AutoPostBack="True" IncrementalFilteringMode="StartsWith"
Width="160px">
</dx:ASPxComboBox>
</td>
<td width="160">
<asp:Label ID="lblCTDesc" runat="server"></asp:Label>
<asp:Label ID="lblCTNo" runat="server"></asp:Label>
</td>
</tr>
<tr>
<td width="10">
<asp:Label ID="lblW5" runat="server" Text=" " Width="10px"></asp:Label>
</td>
<td style="text-align: right" width="125">
<asp:Label ID="Label47" runat="server" Style="text-align: right" Text="<%$ Resources:Resource,PRBMC01Label47 %>"></asp:Label>
<asp:Label ID="lblW20" runat="server" Text=" " Width="5px"></asp:Label>
</td>
<td>
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="35">
<asp:TextBox ID="txtBarYear" runat="server" BackColor="#EAEAEA" Enabled="False" ReadOnly="True"
Width="35px"></asp:TextBox>
</td>
<td style="text-align: center">
<asp:Label ID="Label51" runat="server" Text=" - "></asp:Label>
</td>
<td>
<dx:ASPxTextBox ID="txtBarNo" runat="server" AutoPostBack="True" MaxLength="15" NullText="--จำเป็น--"
Width="110px">
<nulltextstyle backcolor="AliceBlue" forecolor="Red">
</nulltextstyle>
</dx:ASPxTextBox>
</td>
</tr>
</table>
</td>
<td>
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td width="10">
<asp:Label ID="lblW1" runat="server" Text=" " Width="10px"></asp:Label>
</td>
<td style="text-align: right" width="125">
<asp:Label ID="Label48" runat="server" Style="text-align: right" Text="<%$ Resources:Resource,PRBMC01Label48 %>"></asp:Label>
<asp:Label ID="lblW16" runat="server" Text=" " Width="5px"></asp:Label>
</td>
<td width="100">
<asp:TextBox ID="txtBookNo" runat="server" BackColor="#EAEAEA" ReadOnly="True" Width="75px"
Enabled="False"></asp:TextBox>
</td>
<td style="text-align: right" width="100">
<asp:Label ID="Label53" runat="server" Style="text-align: right" Text="<%$ Resources:Resource,PRBMC01Label53 %>"></asp:Label>
<asp:Label ID="lblW21" runat="server" Text=" " Width="5px"></asp:Label>
</td>
<td>
<asp:TextBox ID="txtNo" runat="server" BackColor="#EAEAEA" ReadOnly="True" Width="75px"
Enabled="False"></asp:TextBox>
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" style="width: 100%; empty-cells: hide;">
<tr>
<td width="10">
<asp:Label ID="lblW2" runat="server" Text=" " Width="10px"></asp:Label>
</td>
<td style="text-align: right" width="125">
<asp:Label ID="Label45" runat="server" Style="text-align: right" Text="ใบอนุญาตเลขที่"></asp:Label>
<asp:Label ID="lblW17" runat="server" Text=" " Width="5px"></asp:Label>
</td>
<td width="260">
<asp:TextBox ID="txtLicenseNo" runat="server" BackColor="#EAEAEA" ReadOnly="True"
Width="155px" Enabled="False"></asp:TextBox>
</td>
<td>
</td>
</tr>
<tr>
<td width="10">
<asp:Label ID="lblW3" runat="server" Text=" " Width="10px"></asp:Label>
</td>
<td style="text-align: right" width="125">
<asp:Label ID="Label3" runat="server" Text="ชื่อตัวแทน/นายหน้า"></asp:Label>
<asp:Label ID="lblW18" runat="server" Text=" " Width="5px"></asp:Label>
</td>
<td>
<asp:TextBox ID="txtAgentName" runat="server" BackColor="#EAEAEA" ReadOnly="True"
Width="250px" Enabled="False"></asp:TextBox>
</td>
<td>
<asp:Label ID="lblAgCode" runat="server"></asp:Label>
</td>
</tr>
</table>
</td>
<td style="width: 10px">
</td>
</tr>
</table>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="btnClear" EventName="Click" />
<asp:AsyncPostBackTrigger ControlID="btnSave" EventName="Click" />
</Triggers>
</asp:UpdatePanel>
<table id="Table14" cellpadding="0" cellspacing="0" class="styletbBorder" style="text-align: left;
vertical-align: middle;">
<tr class="styletbFS">
<td>
</td>
</tr>
<tr>
<td class="styletbLineT">
</td>
</tr>
</table>
<asp:UpdatePanel ID="UpdatePanel4" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<table id="Table2" cellpadding="0" cellspacing="0" class="styletbBorder" style="text-align: left;
vertical-align: middle;">
<tr>
<td style="width: 10px">
</td>
<td>
<table cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td width="300">
<asp:Label ID="Label5" runat="server" Style="font-weight: 700" Text="ผู้เอาประกันภัย"></asp:Label>
</td>
<td style="text-align: right">
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="1" style="width: 100%">
<tr>
<td width="10">
<asp:Label ID="lblW6" runat="server" Text=" " Width="10px"></asp:Label>
</td>
<td style="text-align: right" width="70">
<asp:Label ID="Label55" runat="server" Style="text-align: left" Text="<%$ Resources:Resource,PRBMC01Label55 %>"></asp:Label>
<asp:Label ID="lblW25" runat="server" Text=" " Width="5px"></asp:Label>
</td>
<td width="150">
<dx:ASPxComboBox ID="cboInitials" runat="server" Width="112px" DropDownStyle="DropDown"
IncrementalFilteringDelay="1" IncrementalFilteringMode="StartsWith">
</dx:ASPxComboBox>
</td>
<td width="90">
</td>
<td style="text-align: right">
<asp:Label ID="lblW27" runat="server" Text=" " Width="5px"></asp:Label>
</td>
<td>
</td>
</tr>
<tr>
<td width="10">
</td>
<td style="text-align: right" width="70">
<asp:Label ID="Label6" runat="server" Text="<%$ Resources:Resource,PRBMC01Label6 %>"></asp:Label>
<asp:Label ID="lblW26" runat="server" Text=" " Width="5px"></asp:Label>
</td>
<td width="150">
<dx:ASPxTextBox ID="txtCustName" runat="server" MaxLength="50" NullText="--จำเป็น--"
Width="140px">
<nulltextstyle backcolor="AliceBlue" forecolor="Red">
</nulltextstyle>
</dx:ASPxTextBox>
</td>
<td style="text-align: right" width="90">
<asp:Label ID="Label54" runat="server" Text="<%$ Resources:Resource,PRBMC01Label54 %>"></asp:Label>
<asp:Label ID="lblW29" runat="server" Text=" " Width="10px"></asp:Label>
</td>
<td style="text-align: left">
<dx:ASPxTextBox ID="txtCustSurName" runat="server" MaxLength="30" NullText="--จำเป็น--"
Width="140px">
<nulltextstyle backcolor="AliceBlue" forecolor="Red">
</nulltextstyle>
</dx:ASPxTextBox>
</td>
<td>
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="1" style="width: 100%">
<tr>
<td width="10">
<asp:Label ID="lblW7" runat="server" Text=" " Width="10px"></asp:Label>
</td>
<td style="text-align: right" width="70">
<asp:Label ID="Label7" runat="server" Text="<%$ Resources:Resource,PRBMC01Label7 %>"></asp:Label>
<asp:Label ID="lblW22" runat="server" Text=" " Width="5px"></asp:Label>
</td>
<td>
<dx:ASPxTextBox ID="txtCustAddress1" runat="server" MaxLength="40" NullText="--จำเป็น--"
Width="444px">
<nulltextstyle backcolor="AliceBlue" forecolor="Red">
</nulltextstyle>
</dx:ASPxTextBox>
</td>
</tr>
<tr>
<td width="10">
<asp:Label ID="lblW8" runat="server" Text=" " Width="10px"></asp:Label>
</td>
<td width="70">
</td>
<td>
<dx:ASPxTextBox ID="txtCustAddress2" runat="server" MaxLength="40" Width="444px">
</dx:ASPxTextBox>
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="1" style="width: 100%">
<tr>
<td width="10">
<asp:Label ID="lblW9" runat="server" Text=" " Width="10px"></asp:Label>
</td>
<td style="text-align: right" width="70">
<asp:Label ID="Label58" runat="server" Text="<%$ Resources:Resource,PRBMC01Label58 %>"
ForeColor="Red"></asp:Label>
<asp:Label ID="lblW23" runat="server" Text=" " Width="5px"></asp:Label>
</td>
<td width="150">
<dx:ASPxComboBox ID="cboCustProvince" runat="server" Width="140px" DropDownStyle="DropDown"
IncrementalFilteringMode="StartsWith">
</dx:ASPxComboBox>
</td>
<td style="text-align: right" width="90">
<asp:Label ID="Label59" runat="server" Text="<%$ Resources:Resource,PRBMC01Label59 %>"></asp:Label>
<asp:Label ID="lblW24" runat="server" Text=" " Width="5px"></asp:Label>
</td>
<td width="140">
<dx:ASPxTextBox ID="txtCustPostCode" runat="server" MaxLength="5" Width="110px" NullText="--จำเป็น--">
<nulltextstyle backcolor="AliceBlue" forecolor="Red">
</nulltextstyle>
</dx:ASPxTextBox>
</td>
<td>
</td>
</tr>
</table>
</td>
<td style="width: 10px">
</td>
</tr>
</table>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="btnClear" EventName="Click" />
<asp:AsyncPostBackTrigger ControlID="btnSave" EventName="Click" />
</Triggers>
</asp:UpdatePanel>
<table id="Table13" cellpadding="0" cellspacing="0" class="styletbBorder" style="text-align: left;
vertical-align: middle;">
<tr class="styletbFS">
<td>
</td>
</tr>
<tr>
<td class="styletbLineT">
</td>
</tr>
</table>
<asp:UpdatePanel ID="UpdatePanel5" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<table id="Table3" cellpadding="0" cellspacing="0" class="styletbBorder" style="text-align: left;
vertical-align: middle;">
<tr>
<td style="width: 10px">
</td>
<td>
<table cellpadding="0" cellspacing="0" style="width: 100%">
<tr style="vertical-align: middle">
<td width="300" style="vertical-align: middle">
<asp:Label ID="Label10" runat="server" Style="font-weight: 700" Text="<%$ Resources:Resource,PRBMC01Label10 %>"></asp:Label>
</td>
<td style="text-align: right; vertical-align: middle;">
<asp:Label ID="Label16" runat="server" Text="<%$ Resources:Resource,PRBMC01Label16 %>"></asp:Label>
<asp:Label ID="Label17" runat="server" Text="<%$ Resources:Resource,PRBMC01Label17 %>"></asp:Label>
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="1" style="width: 100%">
<tr style="vertical-align: middle">
<td width="10">
<asp:Label ID="lblW10" runat="server" Text=" " Width="10px"></asp:Label>
</td>
<td style="text-align: right; vertical-align: middle;" width="70">
<asp:Label ID="Label13" runat="server" Text="<%$ Resources:Resource,PRBMC01Label13 %>"
ForeColor="Red"></asp:Label>
<asp:Label ID="lblW30" runat="server" Text=" " Width="5px"></asp:Label>
</td>
<td width="140" style="vertical-align: middle">
<dx:ASPxDateEdit ID="CalFrom_" runat="server" DisplayFormatString="dd/MM/yyyy" EditFormat="Custom"
EditFormatString="dd/MM/yyyy" UseMaskBehavior="True" Width="120px">
<validationsettings causesvalidation="True" display="Dynamic" enablecustomvalidation="True"
errortext="dd/MM/yyyy" errortextposition="Bottom" setfocusonerror="True">
<RequiredField ErrorText="dd/MM/yyyy" IsRequired="True" />
</validationsettings>
</dx:ASPxDateEdit>
</td>
<td style="text-align: right; vertical-align: middle;" width="50">
<asp:Label ID="Label14" runat="server" Text="<%$ Resources:Resource,PRBMC01Label14 %>"
ForeColor="Red"></asp:Label>
<asp:Label ID="lblW31" runat="server" Text=" " Width="5px"></asp:Label>
</td>
<td width="140" style="vertical-align: middle">
<dx:ASPxDateEdit ID="CalTo_" runat="server" DisplayFormatString="dd/MM/yyyy" EditFormat="Custom"
EditFormatString="dd/MM/yyyy" UseMaskBehavior="True" Width="120px">
<validationsettings causesvalidation="True" display="Dynamic" enablecustomvalidation="True"
errortext="dd/MM/yyyy" errortextposition="Bottom" setfocusonerror="True">
<RequiredField ErrorText="dd/MM/yyyy" IsRequired="True" />
</validationsettings>
</dx:ASPxDateEdit>
</td>
<td style="text-align: right; vertical-align: middle;">
<asp:Label ID="Label15" runat="server" Text="<%$ Resources:Resource,PRBMC01Label15 %>"></asp:Label>
</td>
</tr>
</table>
</td>
<td style="width: 10px">
</td>
</tr>
</table>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="btnClear" EventName="Click" />
<asp:AsyncPostBackTrigger ControlID="btnSave" EventName="Click" />
</Triggers>
</asp:UpdatePanel>
<table id="Table12" cellpadding="0" cellspacing="0" class="styletbBorder" style="text-align: left;
vertical-align: middle;">
<tr class="styletbFS">
<td>
</td>
</tr>
<tr>
<td class="styletbLineT">
</td>
</tr>
</table>
<table id="Table4" cellpadding="0" cellspacing="0" class="styletbBorder" style="text-align: left;
vertical-align: middle;">
<tr>
<td style="width: 10px">
</td>
<td>
<table cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td width="300">
<asp:Label ID="Label12" runat="server" Style="font-weight: 700" Text="<%$ Resources:Resource,PRBMC01Label12 %>"></asp:Label>
</td>
<td style="text-align: right">
</td>
</tr>
</table>
<asp:UpdatePanel ID="UpdatePanel10" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<table cellpadding="0" cellspacing="1" style="width: 100%; text-align: left;">
<tr>
<td width="10">
<asp:Label ID="lblW12" runat="server" Text=" " Width="10px"></asp:Label>
</td>
<td style="text-align: right" width="85">
<asp:Label ID="Label60" runat="server" Style="text-align: right" Text="<%$ Resources:Resource,PRBMC01Label60 %>"
ForeColor="Red"></asp:Label>
<asp:Label ID="lblW32" runat="server" Text=" " Width="5px"></asp:Label>
</td>
<td width="170" style="text-align: left">
<dx:ASPxComboBox ID="cboCarCode" runat="server" DropDownStyle="DropDown" EnableIncrementalFiltering="True"
IncrementalFilteringMode="StartsWith" TextField="TextField" TextFormatString="{0}"
ValueField="ValueField" ValueType="System.String" Width="120px">
<columns>
<dx:ListBoxColumn Caption="รหัสรถ" FieldName="TextField" Name="TextField" Width="45px" />
<dx:ListBoxColumn Caption="ประเภทรถ" FieldName="TextField2" Name="TextField2" Width="300px" />
</columns>
</dx:ASPxComboBox>
</td>
<td width="50" style="text-align: right">
</td>
<td>
<asp:UpdateProgress ID="udp03" runat="server" DisplayAfter="5" AssociatedUpdatePanelID="UpdatePanel3">
<ProgressTemplate>
<div id="divUDP03" align="center" valign="middle" runat="server" style="padding: 5px;
border: 1px solid #999999; visibility: visible; vertical-align: middle; background-color: #FFFFFF;
z-index: 200;">
<asp:Image ID="imgUDP03" runat="server" ImageUrl="~/Images/preloaders32t.gif" Height="20px" />
<asp:Label ID="lblUDP03" runat="server" Text="<% $Resources: Resource,MP01lblUDP %>"></asp:Label>
</div>
</ProgressTemplate>
</asp:UpdateProgress>
</td>
</tr>
</table>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="cboPolicyNo" EventName="SelectedIndexChanged" />
<asp:AsyncPostBackTrigger ControlID="txtBarNo" EventName="TextChanged" />
<asp:AsyncPostBackTrigger ControlID="btnClear" EventName="Click" />
<asp:AsyncPostBackTrigger ControlID="btnSave" EventName="Click" />
</Triggers>
</asp:UpdatePanel>
<asp:UpdatePanel ID="UpdatePanel11" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<table cellpadding="0" cellspacing="1" style="width: 100%; text-align: left;">
<tr>
<td width="10">
<asp:Label ID="lblW13" runat="server" Text=" " Width="10px"></asp:Label>
</td>
<td style="text-align: right" width="85">
<asp:Label ID="Label62" runat="server" Text="<%$ Resources:Resource,PRBMC01Label62 %>"
ForeColor="Red"></asp:Label>
<asp:Label ID="lblW34" runat="server" Text=" " Width="5px"></asp:Label>
</td>
<td width="170">
<dx:ASPxComboBox ID="cboCarBrand" runat="server" DropDownStyle="DropDown" IncrementalFilteringMode="StartsWith"
Width="155px">
</dx:ASPxComboBox>
</td>
<td style="text-align: right" width="50">
<asp:Label ID="Label63" runat="server" Text="<%$ Resources:Resource,PRBMC01Label63 %>"></asp:Label>
<asp:Label ID="lblW35" runat="server" Text=" " Width="5px"></asp:Label>
</td>
<td>
<dx:ASPxComboBox ID="cboCarModel" runat="server" DropDownStyle="DropDown" IncrementalFilteringMode="StartsWith"
Width="205px" EnableIncrementalFiltering="True" ValueType="System.String">
<buttons>
<dx:EditButton Position="Left" Text="Load" ToolTip="แสดงรุ่นรถ">
</dx:EditButton>
</buttons>
</dx:ASPxComboBox>
<asp:UpdateProgress ID="udp11" runat="server" DisplayAfter="5" AssociatedUpdatePanelID="UpdatePanel11">
<ProgressTemplate>
<div id="divUDP11" align="center" valign="middle" runat="server" style="padding: 5px;
border: 1px solid #999999; visibility: visible; vertical-align: middle; background-color: #FFFFFF;
z-index: 200;">
<asp:Image ID="imgUDP11" runat="server" ImageUrl="~/Images/preloaders32t.gif" Height="20px" />
<asp:Label ID="lblUDP11" runat="server" Text="<% $Resources: Resource,MP01lblUDP %>"></asp:Label>
</div>
</ProgressTemplate>
</asp:UpdateProgress>
</td>
</tr>
</table>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="btnClear" EventName="Click" />
<asp:AsyncPostBackTrigger ControlID="btnSave" EventName="Click" />
</Triggers>
</asp:UpdatePanel>
<asp:UpdatePanel ID="UpdatePanel12" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<table cellpadding="0" cellspacing="1" style="width: 100%; text-align: left;">
<tr>
<td width="10">
<asp:Label ID="lblW14" runat="server" Text=" " Width="10px"></asp:Label>
</td>
<td style="text-align: right" width="85">
<asp:Label ID="Label64" runat="server" Text="<%$ Resources:Resource,PRBMC01Label64 %>"></asp:Label>
<asp:Label ID="lblW36" runat="server" Text=" " Width="5px"></asp:Label>
</td>
<td width="170">
<dx:ASPxTextBox ID="txtCarColor" runat="server" MaxLength="20" NullText="-ไม่ระบุ-"
Width="60px">
<nulltextstyle backcolor="AliceBlue" forecolor="Red">
</nulltextstyle>
</dx:ASPxTextBox>
</td>
<td style="text-align: right" width="105">
<asp:Label ID="Label65" runat="server" Text="<%$ Resources:Resource,PRBMC01Label65 %>"></asp:Label>
<asp:Label ID="lblW37" runat="server" Text=" " Width="5px"></asp:Label>
</td>
<td width="60">
<dx:ASPxTextBox ID="txtCarCC" runat="server" NullText="-ตัวเลข-" Width="60px">
<nulltextstyle backcolor="AliceBlue" forecolor="Red">
</nulltextstyle>
</dx:ASPxTextBox>
</td>
<td>
</td>
</tr>
<tr>
<td width="10">
</td>
<td style="text-align: right" width="85">
<asp:Label ID="Label66" runat="server" Text="<%$ Resources:Resource,PRBMC01Label66 %>"></asp:Label>
<asp:Label ID="lblW38" runat="server" Text=" " Width="5px"></asp:Label>
</td>
<td width="170">
<dx:ASPxTextBox ID="txtCarCapacity" runat="server" NullText="-ตัวเลข-" Width="60px">
<nulltextstyle backcolor="AliceBlue" forecolor="Red">
</nulltextstyle>
</dx:ASPxTextBox>
</td>
<td style="text-align: right" width="105">
<asp:Label ID="Label67" runat="server" Text="<%$ Resources:Resource,PRBMC01Label67 %>"></asp:Label>
<asp:Label ID="lblW39" runat="server" Text=" " Width="5px"></asp:Label>
</td>
<td width="60">
<dx:ASPxTextBox ID="txtCarWeight" runat="server" NullText="-ตัวเลข-" Width="60px">
<nulltextstyle backcolor="AliceBlue" forecolor="Red">
</nulltextstyle>
</dx:ASPxTextBox>
</td>
<td>
<asp:Label ID="Label102" runat="server" Text="ตัน"></asp:Label>
</td>
</tr>
</table>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="btnClear" EventName="Click" />
<asp:AsyncPostBackTrigger ControlID="btnSave" EventName="Click" />
<asp:AsyncPostBackTrigger ControlID="btnCalPremium" EventName="Click" />
</Triggers>
</asp:UpdatePanel>
<asp:UpdatePanel ID="UpdatePanel6" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<table cellpadding="0" cellspacing="1" style="width: 100%; text-align: left;">
<tr>
<td width="10">
<asp:Label ID="lblW15" runat="server" Text=" " Width="10px"></asp:Label>
</td>
<td style="text-align: right" width="85">
<asp:Label ID="Label68" runat="server" Text="<%$ Resources:Resource,PRBMC01Label68 %>"></asp:Label>
<asp:Label ID="lblW40" runat="server" Text=" " Width="5px"></asp:Label>
</td>
<td width="170">
<dx:ASPxTextBox ID="txtCarLicence" runat="server" MaxLength="10" NullText="--จำเป็น--"
Width="155px">
<nulltextstyle backcolor="AliceBlue" forecolor="Red">
</nulltextstyle>
</dx:ASPxTextBox>
</td>
<td style="text-align: right" width="105">
<asp:Label ID="Label69" runat="server" Text="<%$ Resources:Resource,PRBMC01Label58 %>"
ForeColor="Red"></asp:Label>
<asp:Label ID="lblW43" runat="server" Text=" " Width="5px"></asp:Label>
</td>
<td>
<dx:ASPxComboBox ID="cboCarProvince" runat="server" DropDownStyle="DropDown" IncrementalFilteringMode="StartsWith"
Width="150px">
</dx:ASPxComboBox>
</td>
</tr>
<tr>
<td width="10">
</td>
<td style="text-align: right">
<asp:Label ID="Label70" runat="server" Text="<%$ Resources:Resource,PRBMC01Label70 %>"></asp:Label>
<asp:Label ID="lblW41" runat="server" Text=" " Width="5px"></asp:Label>
</td>
<td width="170">
<dx:ASPxTextBox ID="txtCarChassisNo" runat="server" MaxLength="35" NullText="--จำเป็น--"
Width="155px">
<nulltextstyle backcolor="AliceBlue" forecolor="Red">
</nulltextstyle>
</dx:ASPxTextBox>
</td>
<td style="text-align: right" width="105">
<asp:Label ID="Label71" runat="server" Text="<%$ Resources:Resource,PRBMC01Label71 %>"></asp:Label>
<asp:Label ID="lblW44" runat="server" Text=" " Width="5px"></asp:Label>
</td>
<td>
<dx:ASPxTextBox ID="txtCarBodyType" runat="server" MaxLength="35" Width="150px">
<nulltextstyle backcolor="AliceBlue" forecolor="Red">
</nulltextstyle>
</dx:ASPxTextBox>
</td>
</tr>
<tr>
<td width="10">
</td>
<td style="text-align: right">
<asp:Label ID="Label72" runat="server" Text="<%$ Resources:Resource,PRBMC01Label72 %>"></asp:Label>
<asp:Label ID="lblW42" runat="server" Text=" " Width="5px"></asp:Label>
</td>
<td width="170">
<dx:ASPxTextBox ID="txtCarMotorNo" runat="server" MaxLength="35" Width="155px">
<nulltextstyle backcolor="AliceBlue" forecolor="Red">
</nulltextstyle>
</dx:ASPxTextBox>
</td>
<td style="text-align: right" width="105">
<asp:Label ID="lblW45" runat="server" Text=" " Width="5px"></asp:Label>
</td>
<td>
</td>
</tr>
</table>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="btnClear" EventName="Click" />
<asp:AsyncPostBackTrigger ControlID="btnSave" EventName="Click" />
</Triggers>
</asp:UpdatePanel>
</td>
<td style="width: 10px">
</td>
</tr>
</table>
<table id="Table11" cellpadding="0" cellspacing="0" class="styletbBorder" style="text-align: left;
vertical-align: middle;">
<tr class="styletbFS">
<td>
</td>
</tr>
<tr>
<td class="styletbLineT">
</td>
</tr>
</table>
<asp:UpdatePanel ID="UpdatePanel7" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<table id="Table7" cellpadding="0" cellspacing="0" class="styletbBorder" style="text-align: left;
vertical-align: middle;">
<tr>
<td style="width: 10px">
</td>
<td>
<table cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td width="300">
<asp:Label ID="Label92" runat="server" Style="font-weight: 700" Text="<%$ Resources:Resource,PRBMC01Label92 %>"></asp:Label>
</td>
<td style="text-align: right">
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="1" style="width: 100%">
<tr style="vertical-align: middle">
<td width="10">
<asp:Label ID="lblW56" runat="server" Text=" " Width="10px"></asp:Label>
</td>
<td style="text-align: right; vertical-align: middle;" width="140">
<asp:Label ID="Label93" runat="server" Text="<%$ Resources:Resource,PRBMC01Label93 %>"
ForeColor="Red"></asp:Label>
<asp:Label ID="lblW57" runat="server" Text=" " Width="5px"></asp:Label>
</td>
<td width="120px" style="vertical-align: middle">
<dx:ASPxDateEdit ID="calCalAgreementMadeOn_" runat="server" DisplayFormatString="dd/MM/yyyy"
EditFormat="Custom" EditFormatString="dd/MM/yyyy" UseMaskBehavior="True" Width="120px">
<validationsettings causesvalidation="True" display="Dynamic" enablecustomvalidation="True"
errortext="dd/MM/yyyy" errortextposition="Bottom" setfocusonerror="True">
<RequiredField ErrorText="dd/MM/yyyy" IsRequired="True" />
</validationsettings>
</dx:ASPxDateEdit>
</td>
<td style="text-align: right; vertical-align: middle;" width="128">
<asp:Label ID="Label94" runat="server" Text="<%$ Resources:Resource,PRBMC01Label94 %>"></asp:Label>
<asp:Label ID="lblW58" runat="server" Text=" " Width="5px"></asp:Label>
</td>
<td style="vertical-align: middle">
<dx:ASPxDateEdit ID="CalCalPolicyIssuedOn_" runat="server" DisplayFormatString="dd/MM/yyyy"
EditFormat="Custom" EditFormatString="dd/MM/yyyy" UseMaskBehavior="True" Width="120px">
<validationsettings causesvalidation="True" display="Dynamic" enablecustomvalidation="True"
errortext="dd/MM/yyyy" errortextposition="Bottom" setfocusonerror="True">
<RequiredField ErrorText="dd/MM/yyyy" IsRequired="True" />
</validationsettings>
</dx:ASPxDateEdit>
</td>
</tr>
</table>
</td>
<td style="width: 10px">
</td>
</tr>
</table>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="btnSave" EventName="Click" />
<asp:AsyncPostBackTrigger ControlID="btnClear" EventName="Click" />
</Triggers>
</asp:UpdatePanel>
<table id="Table10" cellpadding="0" cellspacing="0" class="styletbBorder" style="text-align: left;
vertical-align: middle;">
<tr class="styletbFS">
<td>
</td>
</tr>
<tr>
<td class="styletbLineT">
</td>
</tr>
</table>
<asp:UpdatePanel ID="UpdatePanel8" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<table id="Table5" cellpadding="0" cellspacing="0" class="styletbBorder" style="text-align: left;
vertical-align: middle;">
<tr>
<td style="width: 10px">
</td>
<td>
<table cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td width="140">
<asp:Label ID="Label74" runat="server" Style="font-weight: 700" Text="<%$ Resources:Resource,PRBMC01Label74 %>"></asp:Label>
</td>
<td style="text-align: left">
<asp:Button ID="btnCalPremium" runat="server" Text="<%$ Resources:Resource,PRBMC01btnCalPremium %>" />
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="1" style="width: 100%">
<tr>
<td width="10">
<asp:Label ID="lblW60" runat="server" Text=" " Width="10px"></asp:Label>
</td>
<td style="text-align: right" width="130">
<asp:Label ID="lblW61" runat="server" Text=" " Width="5px"></asp:Label>
<asp:Label ID="Label95" runat="server" Text="<%$ Resources:Resource,PRBMC01Label95 %>"
ForeColor="Red"></asp:Label>
<asp:Label ID="lblW59" runat="server" Text=" " Width="5px"></asp:Label>
</td>
<td width="210">
<asp:RadioButtonList ID="radCalPremium" runat="server" AutoPostBack="True" RepeatDirection="Horizontal"
Width="210px">
<asp:ListItem Selected="True" Value="A" Text="<%$ Resources:Resource,PRBMC01radCalPremiumA %>"> </asp:ListItem>
<asp:ListItem Value="F" Text="<%$ Resources:Resource,PRBMC01radCalPremiumF %>"></asp:ListItem>
</asp:RadioButtonList>
</td>
<td width="50">
<asp:TextBox ID="txtPremiumDay" runat="server" BackColor="#EAEAEA" ReadOnly="True"
Width="50px"></asp:TextBox>
</td>
<td>
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="1" style="width: 100%; text-align: left;">
<tr>
<td width="10">
<asp:Label ID="lblW46" runat="server" Text=" " Width="10px"></asp:Label>
</td>
<td style="text-align: right" width="130">
<asp:Label ID="Label18" runat="server" Text="<%$ Resources:Resource,PRBMC01Label18 %>"></asp:Label>
<asp:Label ID="lblW47" runat="server" Text=" " Width="5px"></asp:Label>
</td>
<td width="110">
<asp:TextBox ID="txtPremium" runat="server" BackColor="#EAEAEA" ReadOnly="True" Style="text-align: right"
Width="100px"></asp:TextBox>
</td>
<td width="40">
<asp:Label ID="Label81" runat="server" Text="<%$ Resources:Resource,PRBMC01Label81 %>"
Width="24px"></asp:Label>
</td>
<td>
</td>
</tr>
<tr>
<td width="10">
</td>
<td style="text-align: right" width="130">
<asp:Label ID="Label21" runat="server" Text="<%$ Resources:Resource,PRBMC01Label21 %>"></asp:Label>
<asp:Label ID="lblW51" runat="server" Text=" " Width="5px"></asp:Label>
</td>
<td width="110">
<asp:TextBox ID="txtPremiumTax" runat="server" BackColor="#EAEAEA" ReadOnly="True"
Style="text-align: right" Width="100px"></asp:TextBox>
</td>
<td width="35">
<asp:Label ID="Label83" runat="server" Text="<%$ Resources:Resource,PRBMC01Label81 %>"
Width="24px"></asp:Label>
</td>
<td>
</td>
</tr>
<tr>
<td width="10">
</td>
<td style="text-align: right" width="130">
<asp:Label ID="Label22" runat="server" Text="<%$ Resources:Resource,PRBMC01Label22 %>"></asp:Label>
<asp:Label ID="lblW53" runat="server" Text=" " Width="5px"></asp:Label>
</td>
<td width="110">
<asp:TextBox ID="txtPremiumVat" runat="server" BackColor="#EAEAEA" ReadOnly="True"
Style="text-align: right" Width="100px"></asp:TextBox>
</td>
<td width="35">
<asp:Label ID="Label84" runat="server" Text="<%$ Resources:Resource,PRBMC01Label81 %>"
Width="24px"></asp:Label>
</td>
<td>
</td>
</tr>
<tr>
<td width="10">
</td>
<td style="text-align: right" width="130">
<asp:Label ID="Label23" runat="server" Style="font-weight: 700" Text="<%$ Resources:Resource,PRBMC01Label23 %>"
ForeColor="Red"></asp:Label>
<asp:Label ID="lblW54" runat="server" Text=" " Width="5px"></asp:Label>
</td>
<td width="110">
<asp:TextBox ID="txtPremiumTotal" runat="server" BackColor="#EAEAEA" ReadOnly="True"
Style="text-align: right" Width="100px"></asp:TextBox>
</td>
<td width="35">
<asp:Label ID="Label85" runat="server" Style="font-weight: 700" Text="<%$ Resources:Resource,PRBMC01Label81 %>"
Width="24px" ForeColor="Red"></asp:Label>
</td>
<td>
</td>
</tr>
</table>
</td>
<td style="width: 10px">
</td>
</tr>
</table>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="btnSave" EventName="Click" />
<asp:AsyncPostBackTrigger ControlID="btnClear" EventName="Click" />
</Triggers>
</asp:UpdatePanel>
<table id="Table9" cellpadding="0" cellspacing="0" class="styletbBorder" style="text-align: left;
vertical-align: middle;">
<tr class="styletbFS">
<td>
</td>
</tr>
<tr>
<td class="styletbLineT">
</td>
</tr>
</table>
<asp:UpdatePanel ID="UpdatePanel9" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<table id="Table6" cellpadding="0" cellspacing="1" class="styletbBorder" style="text-align: left;
vertical-align: middle;">
<tr class="styletbFS">
<td style="width: 10px">
</td>
<td style="text-align: center">
</td>
<td style="width: 10px">
</td>
</tr>
<tr>
<td style="width: 10px">
</td>
<td style="text-align: center">
<asp:Button ID="btnSave" runat="server" Text="<% $Resources: Resource,g_btnSave %>" />
<dx:ASPxButton ID="btnClear" runat="server" Text="<%$ Resources:Resource,MC01btnClear %>"
Native="True">
<clientsideevents click="function(s, e) {
ClearCtrl()
}" />
</dx:ASPxButton>
</td>
<td style="width: 10px">
</td>
</tr>
<tr class="styletbFS">
<td colspan="3">
</td>
</tr>
<tr>
<td class="styletbLineT" colspan="3">
</td>
</tr>
</table>
</ContentTemplate>
</asp:UpdatePanel>
</asp:Panel>
</div>
</td>
</tr>
</table>
<%--<asp:UpdateProgress ID="udp04" runat="server" DisplayAfter="5" AssociatedUpdatePanelID="UpdatePanel4">
<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="divUDP04" 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="imgUDP04" runat="server" ImageUrl="~/Images/preloaders32t.gif" /><br />
<asp:Label ID="lblUDP04" runat="server" Text="<% $Resources: Resource,MP01lblUDP %>"></asp:Label>
</div>
</ProgressTemplate>
</asp:UpdateProgress> --%>
<%--<asp:UpdateProgress ID="udp05" runat="server" DisplayAfter="5" AssociatedUpdatePanelID="UpdatePanel5">
<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="divUDP05" 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="imgUDP05" runat="server" ImageUrl="~/Images/preloaders32t.gif" /><br />
<asp:Label ID="lblUDP05" runat="server" Text="<% $Resources: Resource,MP01lblUDP %>"></asp:Label>
</div>
</ProgressTemplate>
</asp:UpdateProgress>
<asp:UpdateProgress ID="udp06" runat="server" DisplayAfter="5" AssociatedUpdatePanelID="UpdatePanel6">
<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="divUDP06" 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="imgUDP06" runat="server" ImageUrl="~/Images/preloaders32t.gif" /><br />
<asp:Label ID="lblUDP06" runat="server" Text="<% $Resources: Resource,MP01lblUDP %>"></asp:Label>
</div>
</ProgressTemplate>
</asp:UpdateProgress>
<asp:UpdateProgress ID="udp07" runat="server" DisplayAfter="5" AssociatedUpdatePanelID="UpdatePanel7">
<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="divUDP07" 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="imgUDP07" runat="server" ImageUrl="~/Images/preloaders32t.gif" /><br />
<asp:Label ID="lblUDP07" runat="server" Text="<% $Resources: Resource,MP01lblUDP %>"></asp:Label>
</div>
</ProgressTemplate>
</asp:UpdateProgress>
<asp:UpdateProgress ID="udp08" runat="server" DisplayAfter="5" AssociatedUpdatePanelID="UpdatePanel8">
<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="divUDP08" 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="imgUDP08" runat="server" ImageUrl="~/Images/preloaders32t.gif" /><br />
<asp:Label ID="lblUDP08" runat="server" Text="<% $Resources: Resource,MP01lblUDP %>"></asp:Label>
</div>
</ProgressTemplate>
</asp:UpdateProgress>
<asp:UpdateProgress ID="udp09" runat="server" DisplayAfter="5" AssociatedUpdatePanelID="UpdatePanel9">
<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="divUDP09" 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="imgUDP09" runat="server" ImageUrl="~/Images/preloaders32t.gif" /><br />
<asp:Label ID="lblUDP09" runat="server" Text="<% $Resources: Resource,MP01lblUDP %>"></asp:Label>
</div>
</ProgressTemplate>
</asp:UpdateProgress>--%>
</asp:Content>