<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TemplateEdit.aspx.cs" Inherits="mytest.Template.TemplateEdit" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>
<!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></title>
<link rel="stylesheet" href="../style/pageStyle.css" type="text/css"/>
<script type="text/javascript" language="JavaScript" src="../Script/bgColor.js"></script>
</head>
<body >
<form id="form1" runat="server">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="pageHeader"><img alt="" src="../Images/pageHeader_icon.gif" border="0"/> 发票类型基本信息
> 发票类型管理</td>
</tr>
</table>
<table border="0" cellspacing="0" cellpadding="0" style="width: 100%">
<tr>
<td class="selectTr">
模板名称:<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
</td>
</tr>
<cc1:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
</cc1:ToolkitScriptManager>
</table>
<%--<table style="margin-right: 0px; width: 550px;" align="center" >--%>
<div style="position: absolute; top: 95px; left: 206px; width: 476px; height: 288px;" >
<cc1:TabContainer ID="Tabs" runat="server" Width="480px" Height="260px"
ActiveTabIndex="0" ScrollBars="Auto" BackColor="#E7E7E7"
ForeColor="#000099" BorderStyle="Groove" >
<cc1:TabPanel runat="server" aline="center" HeaderText="单据头" ID="TabPanel1" ForeColor="#CC0099" BackColor="Red">
<ContentTemplate>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<table width="100%" height="100%" border="0" cellspacing="5" bgcolor="#E7E7E7">
<tr valign="top">
<td nowrap width="80"> </td>
<td nowrap width="50"> 显示:</td>
<td nowrap width="50"> 打印:</td>
<td nowrap>
标题:</td>
</tr>
<tr valign="top">
<td colspan="4" align="center">
<asp:ListView ID="LstHeader" runat="server" GroupPlaceholderID="ContactRowContainer"
ItemPlaceholderID="ContactItemContainer">
<GroupTemplate>
<tr runat="server" id="ContactRow" valign="top">
<td runat="server" id="ContactItemContainer" valign="top" />
</tr>
</GroupTemplate>
<ItemTemplate>
<tr runat="server" id="TR" valign="top">
<td align="left">
<asp:Label ID="Label1" runat="server" Text='<%#Eval("DEFAULTNAME")%>'></asp:Label>
</td>
<td>
<asp:CheckBox ID="ChkShow" runat="server"
Checked='<%#(Eval("BDISPLAY").ToString()=="1"||Eval("BDISPLAY").ToString()=="11")?true:false%>'
Enabled='<%#Eval("BDISPLAY").ToString()=="1"?false:true%>' />
</td>
<td>
<asp:CheckBox ID="ChkPrint" runat="server"
Checked='<%#(Eval("BPrint").ToString()=="1"||Eval("BPrint").ToString()=="11")?true:false%>'
Enabled='<%#Eval("BPrint").ToString()=="1"?false:true%>' />
</td>
<td>
<asp:TextBox ID="TxtTitle" runat="server" Text='<%#Eval("DisplayName") %>'></asp:TextBox>
</td>
</tr>
</ItemTemplate>
<LayoutTemplate>
<tr ID="ContactRowContainer" runat="server">
</tr>
<tr >
<td class="shadowBottom" colspan="4">
</td>
</tr>
</LayoutTemplate>
</asp:ListView>
</td>
</tr>
</table>
</ContentTemplate>
</asp:UpdatePanel>
</ContentTemplate>
</cc1:TabPanel>
<cc1:TabPanel ID="TabPanel2" runat="server" HeaderText="TabPanel2">
<HeaderTemplate>
TabPanel2
</HeaderTemplate>
<ContentTemplate>
<asp:UpdatePanel runat="server" ID="udfds">
<ContentTemplate>
<table valine="top" height="100%" width="100%" border="0" cellspacing="5" bgcolor="#E7E7E7">
<tr valign ="top" >
<td nowrap width="80"> </td>
<td nowrap width="50"> 显示:</td>
<td nowrap width="50">
打印:</td>
<td nowrap> 标题:</td>
</tr>
<tr valign="top">
<td colspan="4">
<asp:ListView ID="LstBody" runat="server" GroupPlaceholderID="ContactRowContainer"
ItemPlaceholderID="ContactItemContainer">
<GroupTemplate>
<tr runat="server" id="ContactRow">
<td runat="server" id="ContactItemContainer" />
</tr>
</GroupTemplate>
<ItemTemplate>
<tr runat="server" id="TR">
<td align="left">
<asp:Label ID="Label1" runat="server" Text='<%#Eval("DEFAULTNAME")%>'></asp:Label>
</td>
<td>
<asp:CheckBox ID="ChkShow" runat="server"
Checked='<%#(Eval("BDISPLAY").ToString()=="1"||Eval("BDISPLAY").ToString()=="11")?true:false%>'
Enabled='<%#Eval("BDISPLAY").ToString()=="1"?false:true%>' />
</td>
<td>
<asp:CheckBox ID="ChkPrint" runat="server"
Checked='<%#(Eval("BPrint").ToString()=="1"||Eval("BPrint").ToString()=="11")?true:false%>'
Enabled='<%#Eval("BPrint").ToString()=="1"?false:true%>' />
</td>
<td>
<asp:TextBox ID="TxtTitle" runat="server" Text='<%#Eval("DisplayName") %>'></asp:TextBox>
</td>
</tr>
</ItemTemplate>
<LayoutTemplate>
<tr ID="ContactRowContainer" runat="server" valign="top">
</tr>
<tr>
<td class="shadowBottom" colspan="4">
</td>
</tr>
</LayoutTemplate>
</asp:ListView>
</td>
</tr>
</table>
</ContentTemplate>
</asp:UpdatePanel>
</ContentTemplate>
</cc1:TabPanel>
</cc1:TabContainer>
<div align="center"
style="position:absolute; top: 310px; left: 157px;">
<asp:Button ID="ButConfirm" runat="server" style="width:70px" class="button"
Text="确定" />
<asp:Button ID="ButCancel" runat="server" style="width:70px" class="button"
Text="取消" Width="70px" />
<asp:Button ID="ButReset" runat="server" style="width:70px" class="button"
Text="缺省值" Height="24px" Width="70px"/>
</div>
</div>
</form>
</body>
</html>