?? comments_addcomment.ascx
字號:
<%@ Control Language="C#" %>
<%@ Register TagPrefix="community" Namespace="ASPNET.StarterKit.Communities" Assembly="ASPNET.StarterKit.Communities"%>
<asp:Panel id="pnlForm" Runat="Server">
<span class="Form_Title">Comments</span>
<p class="Form_Description">
Add your comments in the fields below.
</p>
<table width="500" cellspacing="0" cellpadding="4" class="Form_Table">
<tr class="Form_SectionRow">
<td>
<span class="Form_SectionText">Add Comment Form</span>
</td>
</tr>
<tr class="Form_LabelRow">
<td>
<span class="Form_LabelText">Subject:</span>
<asp:RequiredFieldValidator ControlToValidate="txtTitle" Text="(required)" Runat="Server"/>
<br>
<asp:TextBox id="txtTitle" Columns="40" CssClass="Form_Field" Runat="Server" />
</td>
</tr>
<tr class="Form_LabelRow">
<td>
<span class="Form_LabelText">Comment:</span>
<asp:RequiredFieldValidator ControlToValidate="txtBody" Text="(required)" Runat="Server"/>
<br>
<community:CommentHtmlTextBox id="txtBody" Columns="50" Rows="10" Runat="Server" />
</td>
</tr>
<tr class="Form_LabelRow">
<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" />
</td>
</table>
</asp:Panel>
<asp:Panel id="pnlPreview" Runat="Server">
<community:Title id="lblPreviewTitle" CssClass="Comments_Title" Runat="Server"/>
<p>
<community:CommentText id="lblPreviewBody" CssClass="Comments_BriefDescription" Runat="Server"/>
<p>
<asp:Button id="btnContinue" Text="Continue" CssClass="Form_Button" Runat="Server" />
</asp:Panel>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -