📄 wobaaaaa.a
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SaveMessage.aspx.cs" Inherits="Message_MessageManage_SaveMessage" %>
<!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 runat="server">
<title>发送信息页面</title>
<link href="../../css/childrenMainDivCss.css" rel="stylesheet" type="text/css" />
<link href="../../css/StyleSheet.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<div id="page">
<fieldset>
<legend>消息填写</legend>
<table border="0" cellpadding="5" cellspacing="0" width="600px">
<tr>
<td style="width: 230px">
消息标题:</td>
<td>
<asp:TextBox ID="txtTitle" CssClass="inputCss" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="标题不能为空" ControlToValidate="txtTitle">*</asp:RequiredFieldValidator></td>
</tr>
<tr>
<td style="width: 230px">
消息类型:</td>
<td>
<asp:DropDownList ID="ddlMessageType" runat="server" Width="135px" CssClass="ddlCss">
</asp:DropDownList></td>
</tr>
<tr>
<td style="width: 230px">
开始有效时间:</td>
<td>
<asp:TextBox ID="txtBeginTime" runat="server" onFocus="new WdatePicker(this,'%Y-%M-%D %h:%m:%s',true,'default')"
CssClass="inputCss"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 230px; height: 24px">
结束有效时间:</td>
<td style="height: 24px">
<asp:TextBox ID="txtEndTime" onFocus="new WdatePicker(this,'%Y-%M-%D %h:%m:%s',true,'default')"
runat="server" CssClass="inputCss"></asp:TextBox></td>
</tr>
<tr>
<td colspan="2">
<table cellpadding="0" cellspacing="0" width="680px">
<tr>
<td colspan="2">
<table cellpadding="0" cellspacing="0" width="680px">
<tr>
<td colspan="2" align="left">
<asp:UpdatePanel ID="upMessage" runat="server" UpdateMode="conditional">
<ContentTemplate>
<table width="680px">
<tr>
<td style="height: 16px" valign="top">
发送对象:</td>
<td align="left" style="height: 16px" valign="top">
<asp:RadioButtonList ID="rdolstToUser" runat="server" AutoPostBack="True" OnSelectedIndexChanged="rdolstToUser_SelectedIndexChanged"
RepeatColumns="2" Width="200px">
<asp:ListItem Value="0">所有人</asp:ListItem>
<asp:ListItem Selected="True" Value="1">选择特定对象</asp:ListItem>
</asp:RadioButtonList></td>
</tr>
<tr>
<td colspan="2">
<asp:Panel ID="pnlSelect" runat="server">
<table bgcolor="#ece9d8" cellpadding="0" cellspacing="0" width="680px">
<tr>
<td style=" height: 173px">
<fieldset id="fild1" runat="server" style="width: 680px">
<legend>
<img alt="" src="../../images/search2.gif" />筛选范围:</legend>
<table cellpadding="0" cellspacing="0" width="680px">
<tr>
<td colspan="2" style="width: 333px; height: 30px" valign="bottom">
<asp:CheckBoxList ID="chklstSelect" runat="server" AutoPostBack="True" OnSelectedIndexChanged="chklstSelect_SelectedIndexChanged"
RepeatColumns="5" Width="296px">
<asp:ListItem Value="branch">按机构</asp:ListItem>
<asp:ListItem Value="depart">按部门</asp:ListItem>
<asp:ListItem Value="userid">按员工号</asp:ListItem>
<asp:ListItem Selected="True" Value="username">按姓名</asp:ListItem>
</asp:CheckBoxList></td>
</tr>
<tr>
<td colspan="2" style="width: 680px; height: 73px">
机构:
<asp:DropDownList ID="ddlBranchs" runat="server" AutoPostBack="True" CssClass="ddlCss"
Enabled="False" OnSelectedIndexChanged="ddlBranchs_SelectedIndexChanged" Width="130px">
</asp:DropDownList>
部门:<asp:DropDownList ID="ddlDeparts" runat="server" CssClass="ddlCss" Enabled="False"
Width="150px">
</asp:DropDownList>
员工号:<asp:TextBox ID="txtUserId" runat="server" Columns="10" CssClass="inputCss"
Enabled="False" Width="48px"></asp:TextBox>
姓名:
<asp:TextBox ID="txtUserName" runat="server" Columns="10" CssClass="inputCss" Enabled="False"
Width="64px"></asp:TextBox>(模糊查找 eg:李)
</td></tr><tr><td align="center">
<asp:Button
ID="btnsearch" runat="server" CausesValidation="False" CssClass="buttonCss" Height="25px"
OnClick="btnsearch_Click" Text="确定选择范围" Width="94px" /></td></tr>
</table>
</fieldset>
</td>
</tr>
<tr>
<td style="width: 100%">
<fieldset id="fild2" runat="server" style="width: 600px">
<legend>请选择发送对象</legend>
<table cellpadding="0" cellspacing="0" width="600px">
<tr>
<td align="left" valign="middle" width="12%">
<fieldset id="fildAll" runat="server">
<asp:CheckBox ID="chkSelectAll" runat="server" AutoPostBack="True" Font-Bold="True"
OnCheckedChanged="chkSelectAll_CheckedChanged" Text="全选" /></fieldset>
</td>
<td valign="bottom">
<asp:CheckBoxList ID="chklstSelectUser" runat="server" RepeatColumns="10">
</asp:CheckBoxList></td>
</tr>
</table>
</fieldset>
</td>
</tr>
</table>
</asp:Panel>
</td>
</tr>
</table>
</ContentTemplate>
</asp:UpdatePanel>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="height: 15px; width: 230px;">
消息内容:</td>
<td style="height: 15px">
<asp:TextBox ID="txtContent" CssClass="inputCss" runat="server" Height="217px" TextMode="MultiLine"
Width="503px"></asp:TextBox></td>
</tr>
<tr>
<td style="height: 15px; width: 230px;">
</td>
<td style="height: 15px" align="center">
<asp:Button ID="btnSave" runat="server" Text="保存消息" CssClass="buttonCss" Height="28px"
Width="90px" OnClick="btnSave_Click" />
<asp:Button ID="btnReturn" runat="server" Text="返回" CssClass="buttonCss" Height="28px"
Width="70px" OnClick="btnReturn_Click" /></td>
</tr>
</table>
</fieldset>
</div>
</form>
<script language="javascript" type="text/javascript">
document.getElementById("<% =txtTitle.ClientID %>").focus();
</script>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -