<%@ page language="C#" autoeventwireup="true" inherits="ims.web.send, ims.web" enableviewstatemac="false" enableEventValidation="false" %>
<!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" id="send">
<head runat="server">
    <title>发送</title><meta http-equiv="X-UA-Compatible" content="IE=edge" />
</head>
	<body>
		<form id="Form1" method="post" runat="server">
        <asp:ScriptManager ID="sm" runat="server">
            <Scripts><asp:ScriptReference Name="MicrosoftAjax.js" ScriptMode="Auto" Path="~/js/MsAjax.js"/><asp:ScriptReference Name="MicrosoftAjaxWebForms.js" ScriptMode="Auto" Path="~/js/MsAjax.js"/></Scripts>
        </asp:ScriptManager>
        <div id="mainArea">
		<table cellspacing="2" class="fixedLayout">
            <tr><td class="tdTitle">发送给：</td>
                <td align="right">
                    <asp:TextBox runat="server" ID="tbUser" acfid="UserName" Width="99%" chars=";；,，、" ondblclick="showUserTree(this.id);" ToolTip="双击弹出用户选择窗口" />
                </td>
            </tr>
            <tr><td class="tdTitle">主　题：</td><td align="right"><asp:TextBox runat="server" ID="tbSubject" ToolTip="输入消息主题" Width="99%" onmouseover="$(this).select().focus();"></asp:TextBox></td></tr>
            <tr><td colspan="2"><asp:TextBox runat="server" ID="ckContent" TextMode="MultiLine"></asp:TextBox></td></tr>
        </table>
        <div class="mtop_s">&nbsp;<asp:CheckBox runat="server" ID="cbMsg" Checked="true" Text="消息" /><asp:CheckBox runat="server" ID="cbMail" Text="邮件" /><asp:CheckBox runat="server" ID="cbSms" Text="短信" />
        </div>
		<div class="mtop_m center">
            <asp:UpdatePanel ID="up" runat="server" RenderMode="Block">
            <ContentTemplate>
		        <asp:Button runat="server" ID="btnSend" Text="发送" OnClick="Send" OnClientClick="return preSubmit();" CssClass="btn big" />
                <input type="button" onclick="return showHelp('editor');" value="帮助" class="btn" />
            </ContentTemplate>
            </asp:UpdatePanel>
		</div>
        </div>
        <div id="resultArea">
            <div id="resultMsg"></div>
            <input type="button" class="btn big" id="btnContinue" value="继 续" onclick="toContinue();" />
            <input type="button" class="btn big" id="btnClose" value="关 闭" onclick="back();" />
        </div>
        <script src="js/comm.js"></script><script src="js/send.js"></script>
		</form>
	</body>
</html>
