<%@ page language="C#" autoeventwireup="true" inherits="Document_CreateFile, App_Web_xcn_tr2u" %>

<%@ 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 href="../CssHtml1.css" rel="stylesheet" type="text/css" />
    <script src="../My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    <style type="text/css">

@import url(tab/menuTab.css);

#Layer1 {
	
	visibility:visible;
	}
#Layer2{
	
	visibility: hidden;

</style>
</head>
<body onload="clearLinkDot();"  style="font-size: 9pt;  overflow :auto ">
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
              <asp:Menu ID="Menu1" runat="server" Orientation="Horizontal" Width="179px" OnMenuItemClick="Menu1_MenuItemClick"  Font-Bold="True" Font-Size ="9pt" ForeColor="White" StaticTopSeparatorImageUrl="../images/dp_bg2.JPG" MaximumDynamicDisplayLevels="3" Height="30px">
            <Items>
                <asp:MenuItem ImageUrl="../images/tabp1-selected.gif"  Value="0"  Text =""></asp:MenuItem>
                <asp:MenuItem ImageUrl="../images/tabp2.gif"  Value="1"  Text =""></asp:MenuItem>
                   <asp:MenuItem ImageUrl="../images/tab2.gif"  Value="2"  Text =""></asp:MenuItem>
               
            </Items>
        <StaticSelectedStyle Font-Bold="True" ForeColor="Red" Height="30px" HorizontalPadding="0px" ItemSpacing="0px" Width="60px" />
     
        <DynamicSelectedStyle Font-Bold="True" ForeColor="Red" />
        </asp:Menu>
                <asp:MultiView ID="MultiView1" runat="server">
                    <asp:View ID="View1" runat="server">
                     
                        <div style="height:283px; overflow :auto ; border-bottom: #0033ff 1px solid; border-left: #0033ff 1px solid; border-top: #0033ff 1px solid; border-right: #0033ff 1px solid; width: 615px;">
                            <asp:TreeView ID="TreeView1" runat="server" OnSelectedNodeChanged="TreeView1_SelectedNodeChanged" ShowLines="True" Width="402px" SelectedNodeStyle-BackColor="Yellow">
                            </asp:TreeView>
                        </div>
                      
                    </asp:View>
                    <asp:View ID="View2" runat="server">
                        
                        <div id="Layer1" style=" height :283px; overflow :auto ; border-bottom: #0033ff 1px solid; border-left: #0033ff 1px solid; border-top: #0033ff 1px solid; border-right: #0033ff 1px solid; width: 616px;">
                       
                        <table style="width: 610px;
                left: 4px; position: relative;top:3px;
                z-index: 1; border-bottom-color: #83bbd9; border-right-width: 1px; border-top-color: #83bbd9; border-top-width: 1px; border-bottom-width: 1px; border-right-color: #83bbd9; border-left-color: #83bbd9; border-left-width: 1px;" 
                class="body" cellpadding="0" cellspacing="1">
                         
                <tr>
                    <td style="width: 110px; height: 26px; background-image: url(../Images/bg04.gif);" valign="middle" bgcolor="lightgrey" align="center">
                        文件名称</td>
                    <td style="height: 26px;" colspan="3" bgcolor="#eff6fc">
                        <input id="mytext" type="text" runat="server" style="width: 493px" readonly="readOnly" />
                       </td>
                </tr>
                <tr>
                    <td style="width: 110px; height: 26px; background-image: url(../Images/bg04.gif);" valign="middle" bgcolor="lightgrey" align="center">
                         文件编号</td>
                    <td style="height: 26px;" colspan="3" bgcolor="#eff6fc"> 
                     <asp:TextBox ID="TextBox9" runat="server" Width="424px" Enabled ="false" ></asp:TextBox>
                      <asp:CheckBox ID="chk_fileno" runat="server" Text ="手工编号" AutoPostBack="true"  OnCheckedChanged="chk_fileno_OnCheckedChanged"/>
                </td>
                </tr>
               
                <tr>
                    <td style="width: 110px; height: 26px; background-image: url(../Images/bg04.gif);" bgcolor="lightgrey" align="center">
                      保存方式 </td>
                    <td style=" height: 26px;" bgcolor="#eff6fc" colspan =3> 
                     <input id="Radio3" runat="server" name="saves"
                                 style="width: 27px" type="radio" value="on" />
                        文件夹 <input id="Radio1" runat="server" type="radio" name="saves" visible =false  /><input id="Radio2"
                            runat="server" type="radio" name="saves"   visible =false />
                            
                       </td>
                   
                </tr>
                <tr>
                    <td style="width: 110px; height: 26px; background-image: url(../Images/bg04.gif);" bgcolor="lightgrey" align="center">
                        版本号</td>
                    <td style="width: 205px; height: 26px;" bgcolor="#eff6fc" align="left">
                        <asp:TextBox ID="TextBox12" runat="server" Width="181px"></asp:TextBox></td>
                         <td style="width: 110px; height: 26px; background-image: url(../Images/bg04.gif);" align="center" bgcolor="lightgrey">
                        所属类别</td>
                    <td style="width: 205px; height: 26px;" align="left" bgcolor="#eff6fc">
                        <asp:TextBox ID="txtTreeName" runat="server" Width="181px" Enabled="False"></asp:TextBox>
                    </td>
                    
                </tr>
                <tr>
                    <td style="width: 110px; height: 26px; background-image: url(../Images/bg04.gif);" bgcolor="lightgrey" align="center">
                        编制部门</td>
                    <td style="width: 205px; height: 26px;" bgcolor="#eff6fc">
                    
                        <asp:DropDownList ID="DropDownList1" runat="server" Width="186px" Height="20px" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged">
                        </asp:DropDownList>&nbsp;
                        
                    </td>
                    <td style="width: 110px; height: 26px; background-image: url(../Images/bg04.gif);" align="center" bgcolor="lightgrey">
                        编 制 人</td>
                    <td style="width: 205px; height: 26px;" align="left" bgcolor="#eff6fc">
                        <asp:DropDownList ID="dpdpeople" runat="server" Width="186px" Height="20px" >
                        </asp:DropDownList>&nbsp;
                    </td>
                </tr>
                <tr>
                    <td style="width: 110px; height: 26px; background-image: url(../Images/bg04.gif);" bgcolor="lightgrey" align="center">
                        文件状态</td>
                    <td style="width: 205px; height: 26px;" bgcolor="#eff6fc">
                       
                        <asp:DropDownList ID="dpdfilestate" runat="server" Width="186px" Height="20px">
                        <asp:ListItem>待审核文件</asp:ListItem>
                            <asp:ListItem>待批准文件</asp:ListItem>
                            <asp:ListItem>待发送文件</asp:ListItem>                           
                            <asp:ListItem>已归档文件</asp:ListItem>
                            <asp:ListItem>临时文件</asp:ListItem>
                        </asp:DropDownList></td>
                    <td style="width: 110px; height: 26px; background-image: url(../Images/bg04.gif);" align="center" bgcolor="lightgrey">
                        发 布 人</td>
                    <td style="width: 205px; height: 26px;" align="left" bgcolor="#eff6fc">
                      
                        <asp:TextBox ID="TextBox1" runat="server" ReadOnly="True" Width="181px"></asp:TextBox></td>
                </tr>
                 <tr>
                    <td style="width: 110px; height: 26px; background-image: url(../Images/bg04.gif);" bgcolor="lightgrey" align="center">
                        创建审核人</td>
                    <td style="width: 205px; height: 26px;" bgcolor="#eff6fc">
                      
                          <asp:TextBox ID="txt_checker_name" runat="server" Enabled ="false"  Width="156px"></asp:TextBox> 
                           <asp:Button ID="btn_checker" runat="server" OnClick="btn_checker_Click" Text="." Width="20px" /> 
                        </td>
                    <td style="width: 110px; height: 26px; background-image: url(../Images/bg04.gif);" align="center" bgcolor="lightgrey">
                        创建批准人</td>
                    <td style="width: 205px; height: 26px;" align="left" bgcolor="#eff6fc">
                     
                         <asp:TextBox ID="txt_approver_name" runat="server" Enabled ="false"  Width="158px"></asp:TextBox>
                          <asp:Button ID="btn_approver" runat="server" OnClick="btn_approver_Click" Text="." Width="20px" />
                        </td>
                </tr>
                <tr>
                    <td style="width: 110px; height: 26px; background-image: url(../Images/bg04.gif);" bgcolor="lightgrey" align="center">
                        发送人</td>
                    <td style="width: 205px; height: 26px;" bgcolor="#eff6fc">
                      
                        <asp:DropDownList ID="dpdsend" runat="server" Width="186px" Height="20px">
                        </asp:DropDownList></td>
                    <td style="width: 110px; height: 26px; background-image: url(../Images/bg04.gif);" align="center" bgcolor="lightgrey">
                        修改批准人</td>
                    <td style="width: 205px; height: 26px;" align="left" bgcolor="#eff6fc">
                      
                        <asp:DropDownList ID="dpdupdate" runat="server" Width="186px" Height="20px">
                        </asp:DropDownList></td>
                </tr>
                 <tr>
                    <td style="width: 110px; height: 26px; background-image: url(../Images/bg04.gif);" bgcolor="lightgrey" align="center">
                        销毁批准人</td>
                    <td style="width: 205px; height: 26px;" bgcolor="#eff6fc">
                        <asp:DropDownList ID="dpdDel" runat="server" Width="186px" Height="20px">
                        </asp:DropDownList></td>
                    <td style="width: 110px; height: 26px; background-image: url(../Images/bg04.gif);" align="center" bgcolor="lightgrey">
                        借阅批准人</td>
                    <td style="width: 205px; height: 26px;" align="left" bgcolor="#eff6fc">
                        <asp:DropDownList ID="dpdlend" runat="server" Width="186px" Height="20px">
                        </asp:DropDownList></td>
                </tr>
               
                <%---------------------------- --%>          
               
                 <tr>
                    <td style=" height: 26px; background-image: url(../Images/bg04.gif);" bgcolor="lightgrey" align="center">
                       关 键 词 </td>
                    <td style=" height: 26px;" bgcolor="#eff6fc" align="left" colspan =3>
                       <asp:TextBox ID="txtkeyword" runat="server" Width="493px"></asp:TextBox></td>
                   
                </tr>
   <%---------------------------- --%>          
               
            </table>
             <div  visible ="false" runat ="server"  style="width:400px;height:370px; position :absolute  ;left: 100px; top :10px; z-index :60; border-bottom-color: #036cfe; border-right-width: 4px; border-top-color: #036cfe; border-top-width: 4px; border-bottom-width: 4px; border-right-color: #036cfe; border-left-color: #036cfe; border-left-width: 4px;"   id="menu3" 
                                >
                        <table style =" position :relative ; z-index :5;height:26px; width: 400px;" cellpadding="0" cellspacing="0">
                      <tr >
                       <td align ="left" style="font-weight: bold; font-size: 9pt; color: white; width :200px;background-image:url(../Images/top_left.gif); height: 26px;" > &nbsp;&nbsp; &nbsp; &nbsp;&nbsp; 
                    选择：<asp:Label ID="lbl_checker" runat="server" Text=""></asp:Label></td>
                        <td align ="right" style="width :200px;background-image:url(../Images/top_right2.gif); height: 26px;" ><asp:ImageButton ID="ImageButton3" runat="server" OnClick="ImageButton1_Click" ImageUrl="~/Images/close.gif" style="padding-top:3px;  padding-right:2px;" ToolTip="关闭" BorderStyle="None" BorderWidth="0px" />&nbsp;</td>
                        </tr>
                
                    </table>
              <div   style=" width: 396px;height:280px; border-right: #036cfe 2px solid; border-left: #036cfe 2px solid; border-bottom: #036cfe 2px solid;
                                background-color: #f2f8fd; color : #004A83; text-align: right;" >
                          <div  style ="text-align :left ">  &nbsp;<asp:TextBox
                              ID="txb_selectedUsers" runat="server" Visible="False"></asp:TextBox>
                              <asp:RadioButton ID="radiob1" runat="server" AutoPostBack="True" OnCheckedChanged="radiob1_CheckedChanged"
                                  Text="串行" />
                              <asp:RadioButton ID="radiob2" runat="server" AutoPostBack="True" OnCheckedChanged="radiob2_CheckedChanged"
                                  Text="并行" /></div>
                       <div  style ="text-align :left ">
                           <asp:TextBox ID="txb_checker" runat="server" Width="386px" Enabled="False"></asp:TextBox> </div>        
              <div style ="height :210px; overflow :auto ;" >
                    <asp:DataList ID="DataList2" runat="server" 
                        Width="100%" CellPadding="0"  AlternatingItemStyle-BackColor="#83BBD9">
                        
                        <ItemTemplate>
                            <table  cellpadding="0" cellspacing="0" style="width: 100%">
                                <tr>
                                    <td style=" text-align :left; width: 15%;">
                                       
                                        <asp:CheckBox ID="chk_selectUser" runat="server"  ToolTip ='<%#DataBinder.Eval(Container.DataItem,"loginid")%>' OnCheckedChanged="chk_selectUser_CheckedChanged" AutoPostBack="True" Width="46px"/>
                                    
                                    </td >
                                    <td style=" text-align: left;width: 30%; "><%#DataBinder.Eval(Container.DataItem,"uname")%>
                                    </td>
                                    <td style=" text-align: left;width: 55%; "> 
                                              <%#DataBinder.Eval(Container.DataItem,"dept")%>   
                                    </td>
                                </tr>
                               
                            </table>
                        </ItemTemplate>
                      
                        <HeaderTemplate>
                            <table  id="mylist" style="width: 100%" cellpadding="0" cellspacing="0" class="tbClass">
                                <tr  class="table-btbg" >
                                
                                        <td  style=" width: 15%;" >
                                        选择</td>
                                    <td  style="  width: 30%; " >
                                        用户名称</td>
                                    <td  style="  width: 55%;" >
                                        用户部门</td>
                                         
                                </tr>
                            </table>
                        </HeaderTemplate>
                        <AlternatingItemStyle BackColor="#F2F8FD" />
                    </asp:DataList>
                    </div>
                            <asp:Button ID="btn_set" runat="server" OnClick="btn_set_Click" Text="确  定" />
                          <asp:Button ID="btn_reset" runat="server" OnClick="btn_reset_Click" Text="重  置" /></div>
                    </div>
            
              <asp:Label ID="Label2" runat="server" Visible="False"></asp:Label>
             <asp:TextBox ID="txt_checker" runat="server" Width="140px" Visible="False" ></asp:TextBox>  
                <asp:TextBox ID="txt_approver" runat="server" Width="140px" Visible="False" ></asp:TextBox>
                    <asp:SqlDataSource ID="SqlDataSource2" runat="server"></asp:SqlDataSource>
                        </div>
                    </asp:View>
                       <asp:View ID="View3" runat="server"> 
                         <div id="Div3" style=" height :283px; overflow :auto ; border-bottom: #0033ff 1px solid; border-left: #0033ff 1px solid; border-top: #0033ff 1px solid; border-right: #0033ff 1px solid; width: 616px;">
                        <table style="width: 610px;
                left: 4px; position: relative;top:3px;
                z-index: 1; border-bottom-color: #83bbd9; border-right-width: 1px; border-top-color: #83bbd9; border-top-width: 1px; border-bottom-width: 1px; border-right-color: #83bbd9; border-left-color: #83bbd9; border-left-width: 1px;" 
                class="body" cellpadding="0" cellspacing="1">
                        <tr>
                    <td  style="width: 110px; height: 26px; background-image: url(../Images/bg04.gif);"  align="center">
                      <div id ="nvarchar_1" runat ="server"> 
                          <asp:Label ID="lbl11_showname" runat="server" Text="" Visible =false ></asp:Label></div>
                       </td>
                    <td style=" width: 205px; height: 26px;" >
                      <div id ="nvarchar_11" runat ="server">
                          <asp:TextBox ID="txt_nvarchar11" runat="server" Width ="181px" Visible="false"></asp:TextBox>
                          <asp:DropDownList ID="dpd_11" runat="server" Width="187px" Visible="false">
                          </asp:DropDownList></div></td>
                    <td style="width: 110px;height: 26px;  background-image: url(../Images/bg04.gif);" align="center" >
                        <div id ="nvarchar_2" runat ="server"> <asp:Label ID="lbl22_showname" runat="server" Text="" Visible =false ></asp:Label></div></td>
                    <td style="width: 205px;  height: 26px;" align="left" >
                       <div id ="nvarchar_22" runat ="server"><asp:TextBox ID="txt_nvarchar22" runat="server" Width ="181px" Visible="false"></asp:TextBox>
                           <asp:DropDownList ID="dpd_22" runat="server" Width="187px" Visible="false">
                           </asp:DropDownList></div></td>
                </tr>
                <tr>
                    <td style="width: 110px;background-image: url(../Images/bg04.gif); height: 22px;"  align="center">
                        <div id ="nvarchar_3" runat ="server"><asp:Label ID="lbl33_showname" runat="server" Text="" Visible =false ></asp:Label></div></td>
                    <td style="width: 205px;  height: 26px;" >
                       <div id ="nvarchar_33" runat ="server"> <asp:TextBox ID="txt_nvarchar33" runat="server" Width ="181px" Visible="false"></asp:TextBox>
                           <asp:DropDownList ID="dpd_33" runat="server" Width="187px" Visible="false">
                           </asp:DropDownList></div></td>
                    <td style=" width: 110px;background-image: url(../Images/bg04.gif); height: 22px;" align="center" >
                        <div id ="nvarchar_4" runat ="server"> <asp:Label ID="lbl44_showname" runat="server" Text="" Visible =false ></asp:Label></div></td>
                    <td style="width: 205px;  height: 26px;" align="left" >
                        <div id ="nvarchar_44" runat ="server">
                            <asp:TextBox ID="txt_nvarchar44" runat="server" Width ="181px" Visible="false"></asp:TextBox>
                            <asp:DropDownList ID="dpd_44" runat="server" Width="187px" Visible="false">
                            </asp:DropDownList></div></td>
                </tr>
                 <tr>
                    <td  style=" width: 110px;background-image: url(../Images/bg04.gif);"  align="center">
                      <div id ="nvarchar_5" runat ="server"> <asp:Label ID="lbl55_showname" runat="server" Text="" Visible =false ></asp:Label></div></td>
                    <td style="width: 205px;  height: 26px;" >
                      <div id ="nvarchar_55" runat ="server"> <asp:DropDownList ID="dpd_55" runat="server" Width="187px" Height ="20px" Visible="false">
                        </asp:DropDownList> 
                          <asp:TextBox ID="txt_nvarchar55" runat="server"  Width ="181px" Visible="false"></asp:TextBox></div></td>
                    <td style="width: 110px;background-image: url(../Images/bg04.gif);" align="center" >
                        <div id ="nvarchar_6" runat ="server"> <asp:Label ID="lbl66_showname" runat="server" Text="" Visible =false ></asp:Label></div></td>
                    <td style="width: 205px; height: 26px;" align="left" >
                       <div id ="nvarchar_66" runat ="server"> <asp:DropDownList ID="dpd_66" runat="server" Width="187px" Height ="20px" Visible="false">
                        </asp:DropDownList> 
                           <asp:TextBox ID="txt_nvarchar66" runat="server" Width ="181px" Visible="false"></asp:TextBox></div></td>
                </tr>
                <tr>
                    <td style="width: 110px; background-image: url(../Images/bg04.gif); height: 22px;"  align="center">
                        <div id ="nvarchar_7" runat ="server"> <asp:Label ID="lbl77_showname" runat="server" Text="" Visible =false ></asp:Label></div></td>
                    <td style="width: 205px;  height: 26px;" >
                       <div id ="nvarchar_77" runat ="server">  <asp:DropDownList ID="dpd_77" runat="server" Width="187px" Height ="20px" Visible="false">
                        </asp:DropDownList>
                           <asp:TextBox ID="txt_nvarchar77" runat="server" Width ="181px" Visible="false"></asp:TextBox></div></td>
                    <td style="width: 110px;background-image: url(../Images/bg04.gif); height: 22px;" align="center" >
                        <div id ="nvarchar_8" runat ="server"><asp:Label ID="lbl88_showname" runat="server" Text="" Visible =false ></asp:Label></div></td>
                    <td style="width: 205px;  height: 26px;" align="left" >
                        <div id ="nvarchar_88" runat ="server"><asp:DropDownList ID="dpd_88" runat="server" Width="187px" Height ="20px" Visible="false">
                        </asp:DropDownList>
                            <asp:TextBox ID="txt_nvarchar88" runat="server" Width ="181px" Visible="false"></asp:TextBox></div></td>
                </tr>
                 <tr>
                    <td style="width: 110px; background-image: url(../Images/bg04.gif); height: 22px;"  align="center">
                        <div id ="date_1" runat ="server"> <asp:Label ID="lbldate1_showname" runat="server" Text="" Visible =false ></asp:Label></div></td>
                    <td style="width: 205px;  height: 26px;" >
                       <div id ="date_11" runat ="server"> 
                           <input id="txtD1" type="text"  class="Wdate" maxlength="10" 
                        onclick="WdatePicker()" runat="server"  readonly ="readonly" style="width: 181px; height: 19px; border-right: #a4c6f1 1px solid; border-top: #a4c6f1 1px solid; border-left: #a4c6f1 1px solid; border-bottom: #a4c6f1 1px solid;" /></div></td>
                    <td style="width: 110px; background-image: url(../Images/bg04.gif); height: 22px;" align="center" >
                    <div id ="date_2" runat ="server"> <asp:Label ID="lbldate2_showname" runat="server" Text="" Visible =false ></asp:Label></div>
                       </td>
                    <td style="width: 205px;  height: 26px;" align="left" >
                        <div id ="date_22" runat ="server"> 
                            <input id="txtD2" type="text"  class="Wdate" maxlength="10" 
                        onclick="WdatePicker()" runat="server"  readonly ="readonly" style="width: 181px; height: 19px; border-right: #a4c6f1 1px solid; border-top: #a4c6f1 1px solid; border-left: #a4c6f1 1px solid; border-bottom: #a4c6f1 1px solid;" /></div></td>
                </tr>
                       
                       </table>
                       </div>
                       </asp:View>
                </asp:MultiView>
                
         
               <table  style="width:600px; height :30px; position:absolute  ; top :328px; left: 0px;">
             
             <tr>
             <td style ="width :60px;">   <asp:UpdateProgress ID="UpdateProgress1" runat="server"  AssociatedUpdatePanelID="UpdatePanel1">
                         <ProgressTemplate>
                         <asp:Image runat="server" ID="img_pro"  ImageUrl="../Images/loading/loading2.gif">
                            </asp:Image>
                         </ProgressTemplate> 
                        </asp:UpdateProgress>  </td>
             <td align="right"> <asp:Label ID="lblState" runat="server" ForeColor="Red" ></asp:Label>
                     
                       <asp:CheckBox ID="chk_email" runat="server" Text="Email提醒" /> &nbsp; <asp:Button ID="Button3" runat="server" Text="保  存" Height="27px" Width="76px" OnClick="Button3_Click1" />
                 <input id="Button1" type="button" value="关  闭" style =" width :76px; height :27px;" onclick ="window.close();"/>
                         <asp:TextBox ID="txt_newIntnum" runat="server" Visible =false></asp:TextBox> </td>
             </tr>
             </table>   
             
             
            
                
            </ContentTemplate>
        </asp:UpdatePanel>
       
    </form>
</body>
</html>
