NoticeUpdate.aspx
上传用户:tiancihang
上传日期:2014-03-12
资源大小:21387k
文件大小:6k
源码类别:

.net编程

开发平台:

C#

  1. <%@ page language="C#" autoeventwireup="true" inherits="SysManage_Notice, App_Web_rlki_npp" theme="Normal" %>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" >
  4. <head runat="server">
  5.     <title>新建工作流公告</title>
  6.     <base target="_self" />
  7.     <script src="../js/calendar.js" type="text/javascript"></script>
  8.        <script type="text/javascript">
  9.   
  10.     function modelesswin(url,mwidth,mheight)
  11.      { 
  12.       var a=new  Array(2);
  13.        if (document.all&&window.print) 
  14.         { 
  15.              var re=window.showModalDialog(url,"","help:0;dialogWidth=350px;dialogHeight=400px,status=no;scroll=no;");
  16.             
  17.              if (re!=undefined) 
  18.               {
  19.                    a= re.split(',');
  20.                    document.getElementById("TB_AssUser").innerText=a[1];
  21.                    document.getElementById("txt_AssUserID").innerText=a[0];
  22.               }
  23.                    }        
  24.          
  25.       }   
  26.    
  27.     </script>
  28. </head>
  29. <body bgcolor="#f7f7f7">
  30.     <form id="form1" runat="server" >
  31.     
  32.      <TABLE width="100%"  border="0" cellPadding="0" cellSpacing="0" >
  33.         <tr valign="middle">
  34.             <td height="25px" width="17%" > 
  35.              <img src="../Images/assignuser.ico" height="30" >
  36.             </td> &nbsp;   &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  37.             <td  align="left"   width="83%" style="font-size:15px">
  38.                 <strong>   更新工作流公告 </strong>
  39.             </td>
  40.         </tr> 
  41.         <tr>
  42.          <td background="../Images/Menu_bg.jpg"  height="20px">
  43.             &nbsp; &nbsp;  <img src="../Images/assignuser.ico" height="15px">     
  44.            </td>
  45.           <td  background="../Images/Menu_bg.jpg"  align="left">
  46.            
  47.            </td>
  48.         </tr>
  49.         </TABLE>
  50.        <TABLE width="100%"  border="0" cellPadding="0" cellSpacing="0" >
  51.           <tr>
  52.             <td style="height: 24px; width: 80px;" >&nbsp; 公告标题:
  53.             </td>
  54.             <td style="width:180px; height: 27px;" >     
  55.                 <asp:TextBox ID="TB_Title" runat="server" Width="120px"></asp:TextBox>                
  56.                  <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="必填" ControlToValidate="TB_Title" ValidationGroup="SaveButton" Display="Dynamic"></asp:RequiredFieldValidator>    
  57.             </td>
  58.              <td style="height: 24px; width: 80px;">&nbsp;公告内容:
  59.              </td>
  60.             <td align="left"  rowspan="2" valign="top" style="width: 200px">     
  61.                 <asp:TextBox ID="TB_Content" runat="server" TextMode="MultiLine" Height="45px" Width="120px"></asp:TextBox>      
  62.                 <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TB_Content"
  63.                     Display="Dynamic" ErrorMessage="必填" ValidationGroup="SaveButton"></asp:RequiredFieldValidator></td>
  64.           </tr>
  65.           <tr>
  66.             <td style="height: 24px; width: 80px;">
  67.                 &nbsp; 失效时间:
  68.              </td>
  69.              <td style="height: 24px; width: 180px;">
  70.                   <asp:TextBox ID="TB_InvaidDate" runat="server" Width="120px" onfocus="setday(this)"></asp:TextBox>
  71.                  <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="必填" ControlToValidate="TB_InvaidDate" ValidationGroup="SaveButton" Display="Dynamic"></asp:RequiredFieldValidator>    
  72.              </td>
  73.               <td style="height: 24px; width: 80px;">  </td>
  74.             
  75.           </tr>   
  76.           
  77.           <tr height="2px">
  78.              <td colspan="4" background="image/header_bg.gif" style="height: 2px">  </td>
  79.              
  80.           </tr> 
  81.            <tr height="10px" >
  82.              <td style="height: 3px; width: 80px;">&nbsp;&nbsp;创建者:</td>
  83.              <td style="height: 3px; width: 180px;">  
  84.                  <asp:TextBox ID="TB_CreateUserID" runat="server" Width="120px" Enabled="false"></asp:TextBox></td>
  85.               <td style="height: 3px; width: 80px;">&nbsp;公告时间:</td>
  86.              <td style="height: 3px">  
  87.                  <asp:TextBox ID="TB_NoticeDate" runat="server" Enabled="false" Width="120px"></asp:TextBox></td>
  88.           </tr> 
  89.           
  90.            <tr>
  91.              <td style="height: 23px; width: 80px;">&nbsp;接受角色:</td>
  92.              <td style="width: 180px; height: 23px">
  93.               <asp:DropDownList ID="DDL_Role" runat="server" Width="126px" AutoPostBack="True" OnSelectedIndexChanged="DDL_Role_SelectedIndexChanged" >
  94.                  </asp:DropDownList></td>                  
  95.               <td style="height: 23px; width: 80px;">
  96.                   &nbsp;接受用户:</td>
  97.              <td style="height: 23px"> <asp:DropDownList ID="DDL_User" runat="server" Width="126px" >
  98.                  </asp:DropDownList></td>
  99.           </tr> 
  100.           
  101.           <tr height="20px">
  102.              <td>  </td>
  103.              <td style="width: 180px">  </td>
  104.               <td>   </td>
  105.               <td>  </td>
  106.           </tr> 
  107.            <tr height="2px">
  108.              <td colspan="4" background="image/header_bg.gif">  </td>
  109.              
  110.           </tr> 
  111.          <%-- <tr>
  112.              <td>  </td>
  113.              <td>  </td>
  114.               <td>
  115.                  
  116.                   <asp:Button ID="BT_Confirm" runat="server" Text="确 定" OnClick="BT_Confirm_Click" ValidationGroup="SaveButton"/> 
  117.                   <button onclick="javascript: if(confirm('确认离开此页面吗?')){window.close();}" id="BT_Cancel"> 取 消</button>
  118.               </td> 
  119.               <td>  </td>
  120.           </tr> --%>
  121.           <tr>
  122.               <td colspan="4" align="center">  
  123.          
  124.              
  125.                    <asp:ImageButton ID="BT_Confirm" runat="server" ImageUrl="image/queding.gif" OnClick="BT_Confirm_Click" ValidationGroup="SaveButton"/>
  126.                   
  127.                   <asp:ImageButton   ID="BT_Cancel" runat="server" ImageUrl="image/quxiao.gif" />
  128.              
  129.               </td>
  130.               </tr>
  131.         </TABLE>
  132.         
  133.       
  134.     </form>
  135. </body>
  136. </html>