NewMessage.aspx
资源名称:OA_at.rar [点击查看]
上传用户:tree100901
上传日期:2007-06-03
资源大小:2295k
文件大小:4k
源码类别:
OA系统
开发平台:
C#
- <%@ Page language="c#" Codebehind="NewMessage.aspx.cs" AutoEventWireup="false" validateRequest=false Inherits="OA.WebForm1" %>
- <%@ Register TagPrefix="uc1" TagName="Mymenu" Src="MENU/Mymenu.ascx" %>
- <%@ Register TagPrefix="ftb" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
- <HTML>
- <HEAD>
- <title>安泰自动办公系统</title>
- <style type="text/css">TABLE { FONT-SIZE: 9pt }
- BODY { FONT-SIZE: 9pt }
- </style>
- <LINK href="baseStyle.css" type="text/css" rel="stylesheet">
- <LINK href="MENU/menuStyle.css" type="text/css" rel="stylesheet">
- <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
- <meta content="C#" name="CODE_LANGUAGE">
- <meta content="JavaScript" name="vs_defaultClientScript">
- <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
- <script language="javascript">
- function SelectAccepter_onclick(){
- var BackValue = window.showModalDialog("SelectAccepter.aspx","","scroll:0;status:0;help:0;resizable:0;dialogWidth:400px;dialogHeight:380px")
- if(BackValue != null)
- {
- document.all.Accepter.value=BackValue["name"];
- document.all.AccepterID.value=BackValue["id"];
- }
- }
- </script>
- </HEAD>
- <body topMargin="5" oncontextmenu='return false'>
- <form id="Form1" method="post" runat="server">
- <uc1:mymenu id="Mymenu1" runat="server" MenuData="MENU/MenuData.xml"></uc1:mymenu>
- <TABLE id="Table1" style="WIDTH: 90%; HEIGHT: 80%" cellSpacing="1" cellPadding="1" align="center"
- border="1">
- <TR>
- <TH style="BORDER-RIGHT: honeydew thin outset; BORDER-TOP: honeydew thin outset; BORDER-LEFT: honeydew thin outset; BORDER-BOTTOM: honeydew thin outset; HEIGHT: 25px; BACKGROUND-COLOR: #99ccff"
- align="center" bgColor="#d0d8df" colSpan="2">
- <P dir="ltr" style="FONT-WEIGHT: bold; COLOR: white; MARGIN-RIGHT: 0px; FONT-FAMILY: 宋体, 黑体"
- align="center">发送新信息</P>
- </TH>
- </TR>
- <TR>
- <TD style="WIDTH: 10%" align="center" background="AliceBlue" bgColor="#f0f8ff">发送到:</TD>
- <TD align="center" background="AliceBlue" bgColor="#f0f8ff"><asp:textbox id="Accepter" runat="server" Height="25px" Width="80%" ReadOnly="True" ForeColor="#8080FF"></asp:textbox><INPUT onclick="SelectAccepter_onclick()" type="button" value="浏览...">
- <asp:requiredfieldvalidator id="RequiredFieldValidator1" runat="server" ControlToValidate="Accepter" ErrorMessage="*"></asp:requiredfieldvalidator><INPUT id="AccepterID" type="hidden" runat="server"></TD>
- </TR>
- <TR>
- <TD style="WIDTH: 10%; HEIGHT: 70%" align="center" bgColor="aliceblue">内 容:</TD>
- <TD style="WIDTH: 100%; HEIGHT: 100%" align="center" bgColor="aliceblue"><FTB:FREETEXTBOX id="FreeTextBox1" runat="server" Height="100%" Width="100%" AllowHtmlMode="False"
- AutoConfigure="EnableAll" BackColor="Control" GutterBackColor="Control" ToolbarType="Office2003"></FTB:FREETEXTBOX></TD>
- </TR>
- <TR>
- <TD style="WIDTH: 10%; HEIGHT: 80%" align="center" bgColor="#f0f8ff"><FONT face="宋体">附件:</FONT></TD>
- <TD style="WIDTH: 100%; HEIGHT: 100%" align="center" bgColor="#f0f8ff"><INPUT style="WIDTH: 80%; HEIGHT: 22px" type="file" size="87" id="Attachment" runat="server"></TD>
- </TR>
- <TR>
- <TD align="center" bgColor="#f0f8ff" colSpan="2">
- <P><INPUT id="Send" onclick="javascript:if(document.frames['FreeTextBox1_editor'].document.body.innerHtml=='')alert('你的信息内容是空的!');"
- type="button" value="发送" runat="server"><INPUT id="Reset" onclick="javascript:document.all.Accepter.value='';document.frames['FreeTextBox1_editor'].document.body.innerText='';"
- type="button" value="取消" CausesValidation="False"></P>
- </TD>
- </TR>
- </TABLE>
- </form>
- </body>
- </HTML>