📄 sendprivatemessage.ascx
字号:
<%@ Control Language="C#" %>
<table class="SectionIntro" cellpadding="3" cellspacing="0" border="0" Width="100%">
<tr>
<td colspan="2">
<span class="SectionTitle">Send Private Message:</span>
</td>
</tr>
<tr>
<td width="10"></td>
<td>
<span class="PageHeader">Private Email Messages allow users to trade email without requiring either person disclose their private email address.</span>
</td>
</tr>
</table>
<br>
<asp:Panel Runat="server" ID="pnlAuthenticated">
<TABLE class="Form" cellSpacing="0" cellPadding="3" border="0">
<TR>
<TD vAlign="top" noWrap align="right"><SPAN class="Form_LabelText">Send
to:</SPAN>
</TD>
<TD>
<asp:DropDownList id="ddlRecipients" Runat="server" CssClass="Form_Field"></asp:DropDownList>
<asp:CompareValidator id="CompareValidator1" CssClass="Form_Message" Display="Dynamic" ControlToValidate="ddlRecipients"
runat="server" Operator="NotEqual" ValueToCompare="-- Select recipient --">(select a recipient)</asp:CompareValidator></TD>
</TR>
<TR>
<TD vAlign="top" noWrap align="right"><SPAN class="Form_LabelText">Message
Subject:</SPAN>
</TD>
<TD>
<asp:TextBox id="txtSubject" Runat="Server" CssClass="Form_Field" Columns="50" MaxLength="100"></asp:TextBox>
<asp:RequiredFieldValidator id="RequiredFieldValidator1" Runat="server" CssClass="Form_Message" Display="Dynamic"
Text="(required)" ControlToValidate="txtSubject"></asp:RequiredFieldValidator></TD>
</TR>
<TR>
<TD vAlign="top" noWrap align="right"><SPAN class="Form_LabelText">Reply
Options:</SPAN>
</TD>
<TD>
<asp:RadioButtonList id="rblReplyOption" Runat="server" CssClass="Form_Field">
<asp:ListItem Selected="True" Value="Recipient may only reply with a Private Message."></asp:ListItem>
<asp:ListItem Value="Send my private email address with this message."></asp:ListItem>
</asp:RadioButtonList></TD>
</TR>
<TR>
<TD vAlign="top" noWrap align="right"><SPAN class="Form_LabelText">Message
Text:</SPAN><BR>
<asp:RequiredFieldValidator id="RequiredfieldvalidatortxtBodyText" Runat="server" CssClass="Form_Message" Display="Dynamic"
Text="(required)" ControlToValidate="txtBodyText"></asp:RequiredFieldValidator></TD>
<TD>
<asp:TextBox id="txtBodyText" Runat="server" CssClass="Form_Field" MaxLength="2000" Columns="50"
Rows="10" TextMode="MultiLine"></asp:TextBox></TD>
</TR>
<TR>
<TD noWrap colSpan="2">
<asp:Button id="btnPreviewMessage" Runat="server" Text="Preview Message" EnableViewState="False"></asp:Button>
<asp:Button id="btnClearForm" Runat="server" Text="Clear Form" CausesValidation="False" EnableViewState="False"></asp:Button></TD>
</TR>
<TR>
<TD noWrap colSpan="2">
<asp:Label id="lblErrorMessage" Runat="server" CssClass="Error_Message" EnableViewState="False"></asp:Label></TD>
</TR>
</TABLE>
</asp:Panel>
<asp:Panel CssClass="Section_NoItems" Runat="server" ID="pnlNotAuthenticated" EnableViewState="False">
You must login before you can
send Private Messages.<BR><BR><BR>
<asp:HyperLink id="LoginLink" Runat="server" Text="Login Now" EnableViewState="False">Login Now</asp:HyperLink>
</asp:Panel>
<asp:Panel CssClass="Section_NoItems" Runat="server" ID="pnlSenderWebMessageDisabled" EnableViewState="False">
You can not send private
messages to another user unless your user account is enabled to send and recieve
private messages.<BR><BR>Please edit your profile and enable private messages if
you wish to use this feature. <BR><BR><BR>
<asp:HyperLink id="ProfileLink" Runat="server" Text="Edit My Profile" EnableViewState="False">Edit My Profile</asp:HyperLink>
</asp:Panel>
<asp:Panel CssClass="Section_NoItems" Runat="server" ID="pnlRecipientWebMessageDisabled" EnableViewState="False">
The person you have requested
to send a private message to has elected not to recieve private messages.
<BR><BR>Sorry, you are unable to send to this user.
</asp:Panel>
<asp:Panel CssClass="Section_NoItems" ID="pnlRecipientInvalid" Runat="server" EnableViewState="False">
The person you are attempting to send a private message to is not a valid user of this community.
</asp:Panel>
<asp:Panel id="pnlConfirmSend" Runat="server" EnableViewState="False">
<span class="Form_Field">The following Message will be sent to
<asp:Label id="lblRecipient" Runat="server"></asp:Label>.</span>
<br>
<br>
<table border="0" cellpadding="3" cellspacing="0" width="100%">
<tr>
<td valign="top" class="Form_LabelText">Subject:</td>
</td>
<td valign="top" style="font-family: Monospace;font-size:smaller" width="100%">
<asp:Label id="lblConfirmSubject" Runat="server" EnableViewState="False"></asp:Label>
</td>
</tr>
</table>
<table border="0" cellpadding="3" cellspacing="0" class="Comments_Table" width="100%">
<tr>
<td style="font-family: Monospace;font-size:smaller">
<asp:Label id="lblConfirmMessage" Runat="server" EnableViewState="False"></asp:Label>
</td>
</tr>
</table>
<br>
<asp:Button id="btnSubmit" Runat="server" Text="Send Message" EnableViewState="False"></asp:Button>
<asp:Button id="btnEditMessage" Runat="server" Text="Edit Message" EnableViewState="False"></asp:Button>
</asp:Panel>
<asp:Panel CssClass="Section_NoItems" id="pnlSendNotice" Runat="server">
Your message has been sent.
</asp:Panel>
<asp:Panel CssClass="Section_NoItems" ID="pnlSendError" Runat="server">
An has error occured which has prevented your message from being sent. Please try again later.
</asp:Panel>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -