<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="kh_addsummary.aspx.cs" Inherits="Web.kh.show.kh_addsummary" %>

<!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>OA标题页</title>
    <link href="../../css/css.css" rel="stylesheet" type="text/css" />
    </head>
<body>
    <form id="fom" runat="server">
        <div id ="main-c-03-right" >
            <table cellpadding="0"; cellspacing ="0"; style =" width :100%;background-image: url('../../css/images/right_top.png'); background-repeat :repeat-x" >
                <tr>
                 <td class  ="main-c-03-right02-top">
                	   <!--这里添加页面标题 -->
                      	    考核小结
                      	</td>

                </tr>
            </table>
            <div id="main-c-03-right02-main">
      
<!--栏目开始 -->
<div class ="lanmubiaoti ">添加与修改考核小结</div>
            
            <!--这里添加内容 -->
            <div style =" margin-top :20px; margin-bottom :10px">
                           选择考核周期：<asp:DropDownList 
                               ID="ddlDate" runat="server" AutoPostBack="True" 
                               onselectedindexchanged="ddlDate_SelectedIndexChanged">
                        </asp:DropDownList>
                      </div> 

<!--栏目开始 -->

                        <!--这里添加内容 -->
                        <table  style =" width :700px; margin-top :20px" border = "1" class ="table " cellpadding ="0" cellspacing ="0">
                <tr>
                    <td class ="tabletd_right " >
                        小结内容</td>
                    <td class ="tabletd_left ">
        <asp:TextBox ID="tbAddContent" runat="server" Width="500px" Rows="5" TextMode="MultiLine"></asp:TextBox>
                          <span  style ="color :Red ">（必填）</span><div>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" 
                              ControlToValidate="tbAddContent" Display="Dynamic" 
                            ErrorMessage="内容不能为空。" ValidationGroup="Add" ForeColor="Red"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator6" runat="server" 
                            ControlToValidate="tbAddContent" Display="Dynamic" ErrorMessage="不能超过500个字" 
                            ValidationExpression="^[\S\s]{1,1000}$" 
                            ValidationGroup="Add" ForeColor="Red"></asp:RegularExpressionValidator></div> 
                    </td>
                </tr>
                                <tr>
                    <td class ="tabletd_right ">
                        添加附件</td>
                    <td class ="tabletd_left ">
                        <asp:FileUpload ID="FileUpload1" runat="server" />
                        <asp:Button ID="btUpload" runat="server" Text="上传" onclick="btUpload_Click" />
                        
                        单个附件不大于50M<div>
                            <asp:Label ID="lbFileNameList" runat="server" Text="已经上传的文件：" Visible="False"></asp:Label>
                            <asp:CheckBoxList ID="cblFileList" runat="server" >
                            </asp:CheckBoxList>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td class="tabletd_right ">
                        &nbsp;</td>
                    <td class="tabletd_left ">
                        <asp:Button ID="btAdd" runat="server" onclick="btAdd_Click" 
                            Text="提交" ValidationGroup="Add" />
                    </td>
                </tr>
            </table>
                       
<!--栏目结束 -->

               
<!--栏目开始 -->
<div  id ="tableViewNotice" runat ="server" >
        <div class ="lanmubiaoti  ">考核小结预览</div>  
                        <!--这里添加内容 -->
                        <table  style =" width :100%" border = "1" class ="table " cellpadding ="0" cellspacing ="0">
                <tr>
                    <td  class ="tabletd_right "  style =" width:70px">
                        考核周期</td>
                    <td class ="tabletd_left "  style =" width:70px">
        <asp:Label ID="lbEvaluationdate" runat="server"></asp:Label>
                        </td>
                    <td class ="tabletd_right "  style =" width:70px">
                        提交时间</td>
                    <td class ="tabletd_left "  >
                        <asp:Label ID="lbSummarydate" runat="server"></asp:Label>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class ="tabletd_right " >
                        小结内容</td>
                    <td class ="tabletd_left " colspan="3">
                        <asp:Label ID="lbContent" runat="server"></asp:Label>
                        &nbsp;</td>
                </tr>
                                <tr>
                    <td class="tabletd_right ">
                        附件</td>
                    <td class="tabletd_left " colspan="3" >
                                              <asp:BulletedList 
                            ID="BulletedList1" runat="server" DisplayMode="LinkButton" 
                            onclick="BulletedList1_Click">

                        </asp:BulletedList></td>
                </tr>
                <tr>
                    <td class="tabletd_right ">
                        &nbsp;</td>
                    <td class="tabletd_left " colspan="3">
                        <asp:Button ID="btViewEdit" runat="server" onclick="btViewEdit_Click" Text="修改" />
                    </td>
                </tr>
            </table>
    </div>                     
<!--栏目结束 -->


                </div>
            </div>
        </form>
    </body>
</html>


