<%@ Control Language="c#" AutoEventWireup="false" Codebehind="SendingNewsletters.ascx.cs" Inherits="Xpdt.Portal.DesktopModules.SendingNewsletters" TargetSchema="http://schemas.microsoft.com/intellisense/ie3-2nav3-0" %>
<%@ Register TagPrefix="Portal" TagName="Title" Src="~/DesktopModuleTitle.ascx"%>
<%@ Register TagPrefix="Portal" TagName="Divider" Src="~/ModuleDivider.ascx"%>
<TABLE width="100%">
	<TR>
		<TD class="ModuleFrame">
			<P><portal:title id="Title1" runat="server"></portal:title></P>
			<P>
				<TABLE id="Table1" style="BORDER-COLLAPSE: collapse" borderColor="#111111" cellSpacing="0" cellPadding="0" width="100%" border="0">
					<TR>
						<TD width="480" colSpan="3"><STRONG>Send Newsletter</STRONG>
						</TD>
						<TD width="*"></TD>
					</TR>
					<TR>
						<TD width="20">&nbsp;</TD>
						<TD noWrap width="210" colSpan="1" rowSpan="1">To members from :</TD>
						<TD width="270"><asp:dropdownlist id="NewsletterList" runat="server" Width="208px"></asp:dropdownlist></TD>
						<TD>&nbsp;</TD>
					</TR>
					<TR>
						<TD></TD>
						<TD></TD>
						<TD></TD>
						<TD></TD>
					</TR>
					<TR>
						<TD>&nbsp;</TD>
						<TD noWrap colSpan="1" rowSpan="1">&nbsp;
							<asp:checkbox id="UseHtmlTemplate" runat="server" DESIGNTIMEDRAGDROP="129" Text="Using this HTML template:"></asp:checkbox></TD>
						<TD><asp:textbox id="HTMLTemplate" runat="server" Width="208px"></asp:textbox><asp:requiredfieldvalidator id="HtmlTemplateValidator" runat="server" ErrorMessage="RequiredFieldValidator" ControlToValidate="HTMLTemplate" EnableClientScript="False">Required</asp:requiredfieldvalidator></TD>
						<TD></TD>
					</TR>
					<TR>
						<TD>&nbsp;</TD>
						<TD noWrap colSpan="1" rowSpan="1">&nbsp;
							<asp:checkbox id="UseTextTemplate" runat="server" Text="Using this Text template:"></asp:checkbox></TD>
						<TD><asp:textbox id="TextTemplate" runat="server" Width="208px"></asp:textbox><asp:requiredfieldvalidator id="TextTemplateValidator" runat="server" ErrorMessage="RequiredFieldValidator" ControlToValidate="TextTemplate" EnableClientScript="False">Required</asp:requiredfieldvalidator></TD>
						<TD></TD>
					</TR>
					<TR>
						<TD>&nbsp;</TD>
						<TD>&nbsp;</TD>
						<TD>&nbsp;</TD>
						<TD></TD>
					</TR>
					<TR>
						<TD></TD>
						<TD>Send newsletter on&nbsp;behalf of :</TD>
						<TD><asp:textbox id="SenderName" runat="server" Width="208px"></asp:textbox>(Name)</TD>
						<TD></TD>
					</TR>
					<TR>
						<TD></TD>
						<TD align="right"><asp:regularexpressionvalidator id="EmailValidator" runat="server" ErrorMessage="RegularExpressionValidator" ControlToValidate="SenderMail" ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" EnableClientScript="False">Invalid Email</asp:regularexpressionvalidator></TD>
						<TD><asp:textbox id="SenderMail" runat="server" Width="208px"></asp:textbox>(E-mail 
							address)
							<asp:requiredfieldvalidator id="EmailRequiredValidator" runat="server" ErrorMessage="RequiredFieldValidator" ControlToValidate="SenderMail" EnableClientScript="False">Required</asp:requiredfieldvalidator></TD>
						<TD></TD>
					</TR>
					<TR>
						<TD>&nbsp;</TD>
						<TD>&nbsp;</TD>
						<TD>&nbsp;</TD>
						<TD></TD>
					</TR>
					<TR>
						<TD></TD>
						<TD>Newsletter Title:</TD>
						<TD>
							<asp:TextBox id="NewsletterTitle" runat="server" Width="208px"></asp:TextBox></TD>
						<TD></TD>
					</TR>
					<TR>
						<TD></TD>
						<TD></TD>
						<TD>
							<asp:Label id="ErrorMesssage" runat="server" ForeColor="Red"></asp:Label>&nbsp;</TD>
						<TD></TD>
					</TR>
					<TR>
						<TD>&nbsp;</TD>
						<TD>&nbsp;</TD>
						<TD>
							<asp:Button id="SendNewsletterBtn" runat="server" Text="Send Newsletter..." CausesValidation="False"></asp:Button></TD>
						<TD></TD>
					</TR>
				</TABLE>
			</P>
			<Portal:Divider runat="server" id="Divider1" /></TD>
	</TR>
</TABLE>
