Basf_EProject/EProject/FineUIPro.Web/Email_Send/Email_SendTemplate_Edit.aspx

141 lines
6.6 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>
<head runat="server">
<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" LabelWidth="150px" Label="Template Type">
</f:DropDownList>
</Items>
</f:FormRow>
</Rows>
<Rows>
<f:FormRow>
<Items>
<f:TextBox ID="txtTemplateCondition" ShowLabel="true" Required="true" LabelWidth="150px" LabelAlign="Right"
BoxFlex="2" runat="server" Label="Template Condition">
</f:TextBox>
</Items>
</f:FormRow>
</Rows>
<Rows>
<f:FormRow>
<Items>
<f:TextBox ID="txtTemplateName" ShowLabel="true" Required="true" LabelWidth="150px" LabelAlign="Right"
BoxFlex="2" runat="server" Label="Template Name">
</f:TextBox>
</Items>
</f:FormRow>
</Rows>
<Rows>
<f:FormRow>
<Items>
<f:HtmlEditor runat="server" Label="Template Content" 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="UserName enabled" ColumnNumber="3" runat="server" Required="true">
<f:RadioItem Text="No Choice" Value="0" Selected="true" />
<f:RadioItem Text="Select People" Value="1" />
<f:RadioItem Text="Select Role" Value="2" />
</f:RadioButtonList>
</Items>
</f:FormRow>
</Rows>
<Rows>
<f:FormRow>
<Items>
<f:DropDownBox runat="server" Label="Sender information" ID="ddlSendUserName" LabelWidth="150px" EmptyText="Select Multiple" 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="Sender information" ID="ddlSendRole" LabelWidth="150px" EmptyText="Select Multiple" 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="CC information" ID="ddlccUserName" LabelWidth="150px" EmptyText="Select Multiple" 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="CC information" ID="ddlccRole" LabelWidth="150px" EmptyText="Select Multiple" 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="Save" ToolTip="Save" ValidateForms="SimpleForm1"
OnClick="btnSave_Click">
</f:Button>
</Items>
</f:Toolbar>
</Toolbars>
</f:Form>
</form>
</body>
</html>