NewInfo.aspx
上传用户:tree100901
上传日期:2007-06-03
资源大小:2295k
文件大小:4k
源码类别:

OA系统

开发平台:

C#

  1. <%@ Register TagPrefix="ftb" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %>
  2. <%@ Register TagPrefix="uc1" TagName="Mymenu" Src="MENU/Mymenu.ascx" %>
  3. <%@ Page language="c#" Codebehind="NewInfo.aspx.cs" AutoEventWireup="false" validateRequest=false Inherits="OA.NewInfo" %>
  4. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  5. <HTML>
  6. <HEAD>
  7. <title>安泰自动办公系统</title>
  8. <style type="text/css">TABLE { FONT-SIZE: 9pt }
  9. BODY { FONT-SIZE: 9pt }
  10. </style>
  11. <LINK href="baseStyle.css" type="text/css" rel="stylesheet">
  12. <LINK href="MENU/menuStyle.css" type="text/css" rel="stylesheet">
  13. <meta http-equiv="Page-Enter" content="revealTrans(Duration=1.0,Transition=12)">
  14. <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
  15. <meta content="C#" name="CODE_LANGUAGE">
  16. <meta content="JavaScript" name="vs_defaultClientScript">
  17. <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
  18. <script language="javascript">
  19. function SelectAccepter_onclick(){
  20. var a = window.showModalDialog("SelectAccepter.aspx","","scroll:0;status:0;help:0;resizable:0;dialogWidth:400px;dialogHeight:380px")
  21. if(a != null)
  22. document.all.Accepter.value=a
  23. }
  24. </script>
  25. </HEAD>
  26. <body topMargin="5" oncontextmenu='return false'>
  27. <form id="Form1" method="post" runat="server">
  28. <P><uc1:mymenu id="Mymenu1" runat="server" MenuData="MENU/MenuData.xml"></uc1:mymenu></P>
  29. <TABLE id="Table1" height="90%" cellSpacing="1" cellPadding="1" width="90%" align="center"
  30. border="1" bgColor="#f0f8ff">
  31. <TR>
  32. <TH style="BORDER-RIGHT: #ccccff thin outset; BORDER-TOP: #ccccff thin outset; BORDER-LEFT: #ccccff thin outset; BORDER-BOTTOM: #ccccff thin outset; HEIGHT: 25px; BACKGROUND-COLOR: #99ccff"
  33. align="center" bgColor="background" colSpan="2" vAlign="middle">
  34. <P dir="ltr" style="FONT-WEIGHT: bold; COLOR: white; MARGIN-RIGHT: 0px; FONT-FAMILY: 宋体, 黑体"
  35. align="center">编制新公告</P>
  36. </TH>
  37. </TR>
  38. <TR>
  39. <TD style="WIDTH: 15%; HEIGHT: 30px" align="center"><FONT face="宋体">信息分类:</FONT></TD>
  40. <TD style="HEIGHT: 30px" align="center"><FONT face="宋体">&nbsp;
  41. <asp:dropdownlist id="DropDownList1" runat="server" Width="190px" AutoPostBack="True"></asp:dropdownlist>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT></TD>
  42. </TR>
  43. <TR>
  44. <TD style="WIDTH: 15%; HEIGHT: 30px" align="center"><FONT face="宋体">标 题:</FONT></TD>
  45. <TD style="HEIGHT: 30px" align="center"><asp:textbox id="Title" runat="server" Width="400px"></asp:textbox><asp:requiredfieldvalidator id="RequiredFieldValidator2" runat="server" ControlToValidate="Title" ErrorMessage="标题不能空!"></asp:requiredfieldvalidator></TD>
  46. </TR>
  47. <TR>
  48. <TD style="WIDTH: 15%; HEIGHT: 100%" align="center">内 容:</TD>
  49. <TD align="center"><FONT face="宋体">
  50. <FTB:FreeTextBox id="FreeTextBox1" runat="server" Width="100%" Height="100%" AllowHtmlMode="False"
  51. AutoConfigure="EnableAll" BackColor="Control" GutterBackColor="Control" ToolbarType="Office2003"></FTB:FreeTextBox>&nbsp;
  52. <asp:requiredfieldvalidator id="RequiredFieldValidator3" runat="server" ControlToValidate="FreeTextBox1" ErrorMessage="*"></asp:requiredfieldvalidator></FONT></TD>
  53. </TR>
  54. <TR>
  55. <TD style="WIDTH: 15%; HEIGHT: 30px" align="center"><FONT face="宋体">作者或摘自:</FONT></TD>
  56. <TD style="HEIGHT: 30px" align="center">
  57. <asp:TextBox id="Writer" runat="server" Width="329px"></asp:TextBox></TD>
  58. </TR>
  59. <TR>
  60. <TD align="center" colSpan="2" style="WIDTH: 100%; HEIGHT: 30px">
  61. <P><INPUT id="Send" type="button" value="发送" runat="server" NAME="Send"><INPUT id="Reset" onclick="javascript:document.all.Title.value='';document.frames['FreeTextBox1_editor'].document.body.innerText='';"
  62. type="button" value="取消" CausesValidation="False"></P>
  63. </TD>
  64. </TR>
  65. </TABLE>
  66. </form>
  67. </body>
  68. </HTML>