?? discuss_addpost.ascx
字號:
<%@ Control Language="C#" %>
<%@ Register TagPrefix="community" Namespace="ASPNET.StarterKit.Communities" Assembly="ASPNET.StarterKit.Communities" %>
<%--
This skin is used both for adding and editing a post. Modify the HTML content
to modify the appearance of the page.
--%>
<community:SectionTitle id="lblSectionTitle" CssClass="Form_Title" Runat="Server" />
<br><br>
<asp:Panel id="pnlForm" Runat="Server">
<table width="100%" class="discussTable" cellpadding="0" cellspacing="1">
<tr>
<th align="left">
Post a New Message
</th>
</tr>
<tr>
<td valign="top" class="discussCell">
<table>
<tr>
<td colspan="3" align="right">
<asp:Panel id="pnlTopics" Runat="Server">
<b>Topic:</b>
<community:TopicPicker id="dropTopics" DefaultTopicText="Pick a Topic" runat="Server"/>
<asp:RequiredFieldValidator ControlToValidate="dropTopics" Text="(required)" InitialValue="-1" CssClass="Form_Field" Runat="Server" />
</asp:Panel>
</td>
</tr>
<tr>
<td align="right">
<b>Author:</b>
</td>
<td colspan="2">
<asp:Label id="lblUsername" runat="Server"/>
</td>
</tr>
<tr>
<td align="right">
<b>Subject:</b>
</td>
<td colspan="2">
<asp:TextBox id="txtTitle" Columns="40" CssClass="Form_Field" Runat="Server" />
<asp:RequiredFieldValidator ControlToValidate="txtTitle" Text="(required)" Runat="Server"/>
</td>
</tr>
<tr>
<td align="right" valign="top">
<b>Message:</b>
</td>
<td>
<community:HtmlTextBox CssClass="htmlDesigner" SelectedFontSize="3" SelectedFontFace="Times New Roman" id="txtBodyText" Width="550" Height="300" Runat="Server" />
</td>
<td valign="top">
<asp:RequiredFieldValidator ControlToValidate="txtBodyText" Text="(required)" Runat="Server"/>
</td>
</tr>
<tr>
<td valign="top">
</td>
<td>
<asp:CheckBox id="chkLocked" runat="Server"/> Do not allow replies to this post
</td>
</tr>
<tr>
<td valign="top">
</td>
<td>
<asp:Panel id="pnlModerateOptions" runat="Server">
<asp:CheckBox id="chkPinned" runat="Server"/> Pinned Post <asp:CheckBox id="chkAnnouncement" runat="Server"/> Announcement
</asp:Panel>
</td>
</tr>
<tr>
<td colspan="2" align="right">
<asp:Button id="btnPreview" Text="Preview" CssClass="Form_Button" Runat="Server" />
<asp:Button id="btnAdd" Text="Submit" CssClass="Form_Button" Runat="Server" />
<asp:Button id="btnEdit" Text="Submit" CssClass="Form_Button" Runat="Server" />
</td>
</tr>
</table>
</td>
</tr>
</table>
</asp:Panel>
<asp:Panel id="pnlPreview" runat="Server">
<table width="100%" class="discussTable" cellpadding="0" cellspacing="0" border="0">
<tr>
<th align="left">
Preview Message
</th>
</tr>
<tr>
<td valign="top" class="discussCell">
<table width="100%" border="0" cellpadding="4" cellspacing="0" border="0">
<tr>
<td class="discussCellHilite">
<b><community:Title id="lblPreviewTitle" runat="Server" /></b>
</td>
</tr>
<tr>
<td align="right">
<community:DisplayTopic id="topicPreview" runat="Server"/>
</td>
</tr>
<tr>
<td class="discussCell">
<community:PostBodyText id="lblPreviewBodyText" runat="Server" />
</td>
</tr>
<tr>
<td>
<asp:Button id="btnContinue" Text="Continue" CssClass="Form_Button" Runat="Server" />
</td>
</tr>
</table>
</td>
</tr>
</table>
</asp:Panel>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -