Basf_TCC11/HJGL/FineUIPro.Web/Email_Send/Email_SendTemplate_Edit.aspx

140 lines
6.7 KiB
Plaintext

<%@ Page Language="C#" AutoEventWireup="true" ValidateRequest="false" CodeBehind="Email_SendTemplate_Edit.aspx.cs" Inherits="FineUIPro.Web.Email_Send.Email_SendTemplate_Edit" %>
<%@ Register Src="~/Email_Send/SelectUserControl.ascx" TagPrefix="uc1" TagName="SelectUserControl" %>
<%@ Register Src="~/Email_Send/SelectRoleControl.ascx" TagPrefix="uc1" TagName="SelectRoleControl" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>编辑</title>
</head>
<body>
<form id="form1" runat="server">
<f:PageManager ID="PageManager1" AutoSizePanelID="SimpleForm1" runat="server" />
<f:Form ID="SimpleForm1" ShowHeader="false" ShowBorder="false" CssClass="blockpanel" BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
<Rows>
<f:FormRow>
<Items>
<f:DropDownList runat="server" ID="ddlEmailParamsID" Required="true" ShowRedStar="true" LabelWidth="150px" Label="邮件类型">
</f:DropDownList>
</Items>
</f:FormRow>
</Rows>
<Rows>
<f:FormRow>
<Items>
<f:TextBox ID="txtTemplateCondition" ShowLabel="true" ShowRedStar="true" Required="true" LabelWidth="150px" LabelAlign="Right"
BoxFlex="2" runat="server" Label="模版条件">
</f:TextBox>
</Items>
</f:FormRow>
</Rows>
<Rows>
<f:FormRow>
<Items>
<f:TextBox ID="txtTemplateName" ShowLabel="true" ShowRedStar="true" Required="true" LabelWidth="150px" LabelAlign="Right"
BoxFlex="2" runat="server" Label="模版名称">
</f:TextBox>
</Items>
</f:FormRow>
</Rows>
<Rows>
<f:FormRow>
<Items>
<f:HtmlEditor runat="server" Label="模版内容" ID="txtContent" Editor="UMEditor" BasePath="~/res/third-party/umeditor/" Height="300px" LabelWidth="150px" LabelAlign="Right">
</f:HtmlEditor>
</Items>
</f:FormRow>
</Rows>
<Rows>
<f:FormRow>
<Items>
<f:RadioButtonList ID="rblAutoPostBack" AutoPostBack="true" OnSelectedIndexChanged="rblAutoPostBack_SelectedIndexChanged" LabelWidth="150px" LabelAlign="Right"
Label="选择人员" ColumnNumber="3" runat="server" Required="true">
<f:RadioItem Text="不选择" Value="0" />
<f:RadioItem Text="选择用户" Value="1" Selected="true" />
<f:RadioItem Text="选择角色" Value="2" />
</f:RadioButtonList>
</Items>
</f:FormRow>
</Rows>
<Rows>
<f:FormRow>
<Items>
<f:DropDownBox runat="server" Label="接收人" Required="true" ShowRedStar="true" ID="ddlSendUserName" LabelWidth="150px" EmptyText="请选择" DataControlID="Grid1"
EnableMultiSelect="true" MatchFieldWidth="false" EnableEdit="true">
<PopPanel>
<f:UserControlConnector runat="server">
<uc1:selectusercontrol runat="server" id="SelectUserControl1" enablegridmultiselect="true" />
</f:UserControlConnector>
</PopPanel>
</f:DropDownBox>
</Items>
</f:FormRow>
</Rows>
<Rows>
<f:FormRow>
<Items>
<f:DropDownBox runat="server" Label="接收人" ID="ddlSendRole" LabelWidth="150px" EmptyText="请选择" DataControlID="Grid1"
EnableMultiSelect="true" MatchFieldWidth="false" EnableEdit="true">
<PopPanel>
<f:UserControlConnector runat="server">
<uc1:selectrolecontrol runat="server" id="SelectRoleControl1" enablegridmultiselect="true" />
</f:UserControlConnector>
</PopPanel>
</f:DropDownBox>
</Items>
</f:FormRow>
</Rows>
<Rows>
<f:FormRow>
<Items>
<f:DropDownBox runat="server" Label="抄送人" ID="ddlccUserName" LabelWidth="150px" EmptyText="请选择" DataControlID="Grid1"
EnableMultiSelect="true" MatchFieldWidth="false" EnableEdit="true">
<PopPanel>
<f:UserControlConnector runat="server">
<uc1:selectusercontrol runat="server" id="SelectUserControl2" enablegridmultiselect="true" />
</f:UserControlConnector>
</PopPanel>
</f:DropDownBox>
</Items>
</f:FormRow>
</Rows>
<Rows>
<f:FormRow>
<Items>
<f:DropDownBox runat="server" Label="抄送人" ID="ddlccRole" LabelWidth="150px" EmptyText="请选择" DataControlID="Grid1"
EnableMultiSelect="true" MatchFieldWidth="false" EnableEdit="true">
<PopPanel>
<f:UserControlConnector runat="server">
<uc1:selectrolecontrol runat="server" id="SelectRoleControl2" enablegridmultiselect="true" />
</f:UserControlConnector>
</PopPanel>
</f:DropDownBox>
</Items>
</f:FormRow>
</Rows>
<Toolbars>
<f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server">
<Items>
<f:Button ID="btnSave" Icon="SystemSave" runat="server" Text="保存" ToolTip="保存" ValidateForms="SimpleForm1"
OnClick="btnSave_Click">
</f:Button>
</Items>
</f:Toolbar>
</Toolbars>
</f:Form>
</form>
</body>
</html>