?? sectiongeneral.ascx
字號:
<%@ import Namespace="ASPNET.StarterKit.Communities" %>
<%@ Register TagPrefix="community" Namespace="ASPNET.StarterKit.Communities" Assembly="ASPNET.StarterKit.Communities" %>
<%@ Control Language="c#" CodeBehind="SectionGeneral.ascx.cs" AutoEventWireup="false" Inherits="ASPNET.StarterKit.Communities.Admin.EditSections.SectionGeneral" %>
<script runat="server">
</script>
<!-- Section Name -->
<p>
<table class="formSection">
<tr>
<td class="formSectionHeader">
<img border="0" src="../help/help.gif" align="right" onmouseover="showHelp('helpName')" onmouseout="hideHelp()">
Section Name
<asp:RequiredFieldValidator ControlToValidate="txtName" text="*" ErrorMessage="You must enter a section name" Runat="server" id="RequiredFieldValidator1" />
</td>
</tr>
<tr>
<td class="formSectionHelp">
The name of the section is used to create the section path.
</td>
</tr>
<tr>
<td class="formSectionContents">
<asp:TextBox id="txtName" columns="30" maxlength="50" runat="Server" />
</td>
</tr>
</table>
</p>
<div id="helpName" style="DISPLAY:none">
The name of the section is used to create the section path. For example, if you
name a section <i>articles</i>, then the path to the section would be <i>/articles/default.aspx</i>.
<p>
Avoid using special characters such as commas, periods, and spaces in the name of a
section.</p>
</div>
<!-- Section Title -->
<p>
<table class="formSection">
<tr>
<td class="formSectionHeader">
<img border="0" src="../help/help.gif" align="right" onmouseover="showHelp('helpTitle')" onmouseout="hideHelp()">
Section Title
<asp:RequiredFieldValidator ControlToValidate="txtTitle" text="*" ErrorMessage="You must enter a section title" Runat="server" id="RequiredFieldValidator2" />
</td>
</tr>
<tr>
<td class="formSectionHelp">
The title of the section is displayed in the browser title bar and the body of the page.
</td>
</tr>
<tr>
<td class="formSectionContents">
<asp:TextBox id="txtTitle" columns="50" maxlength="100" runat="Server" />
</td>
</tr>
</table>
</p>
<div id="helpTitle" style="DISPLAY:none">
The section title appears in the browser address bar and the body of the page. The
section title is also used as the title of the section when the section is
displayed by a parent section.
</div>
<!-- Section Menu Title -->
<p>
<table class="formSection">
<tr>
<td class="formSectionHeader">
<img border="0" src="../help/help.gif" align="right" onmouseover="showHelp('helpMenuTitle')" onmouseout="hideHelp()">
Section Menu Title
<asp:RequiredFieldValidator ControlToValidate="txtMenuTitle" text="*" ErrorMessage="You must enter a section menu title" Runat="server" id="RequiredFieldValidator3" />
</td>
</tr>
<tr>
<td class="formSectionHelp">
The section menu title is displayed in menus.
</td>
</tr>
<tr>
<td class="formSectionContents">
<asp:TextBox id="txtMenuTitle" columns="30" maxlength="50" runat="Server" />
</td>
</tr>
</table>
</p>
<div id="helpMenuTitle" style="DISPLAY:none">
The section menu title is displayed in menus. Try to keep the menu title short
since longer menu titles might distort the page layout of particular themes.
</div>
<!-- Section Description -->
<p>
<table class="formSection">
<tr>
<td class="formSectionHeader">
<img border="0" src="../help/help.gif" align="right" onmouseover="showHelp('helpDescription')" onmouseout="hideHelp()">
Section Description
<asp:RequiredFieldValidator ControlToValidate="txtDescription" Text="*" ErrorMessage="You must enter a description" runat="server" id="RequiredFieldValidator4" />
<community:LengthValidator ControlToValidate="txtDescription" MaxLength="500" Text="*" ErrorMessage="Description must be less than 500 characters" runat="server" id="LengthValidator1" />
</td>
</tr>
<tr>
<td class="formSectionHelp">
The section description is displayed when the section is listed in a parent page.
</td>
</tr>
<tr>
<td class="formSectionContents">
<asp:TextBox id="txtDescription" textmode="MultiLine" columns="50" rows="3" Runat="Server" />
</td>
</tr>
</table>
</p>
<div id="helpDescription" style="DISPLAY:none">
The section description is displayed when the section is listed in a parent page.
It is also displayed when the section is exposed as a Web service.
</div>
<!-- Section Type -->
<asp:panel id="pnlType" runat="server">
<P>
<TABLE class="formSection">
<TR>
<TD class="formSectionHeader"><IMG onmouseover="showHelp('helpType')" onmouseout="hideHelp()" src="../help/help.gif" align="right" border="0">
Section Type
</TD>
</TR>
<TR>
<TD class="formSectionHelp">Select the type of content contained in this section.
</TD>
</TR>
<TR>
<TD class="formSectionContents">
<asp:radiobuttonlist id="radlPageTypes" runat="server" font-size="12px"></asp:radiobuttonlist></TD>
</TR>
</TABLE>
</P>
</asp:panel>
<div id="helpType" style="DISPLAY:none">
The section type determines the type of content contained in the section. For
example, to create a section that contains articles, select <b>Articles Section</b>.
<p>
Be warned that you cannot change the type of a section after you create it.</p>
</div>
<!-- Parent Section -->
<asp:Panel id="pnlParentSection" Runat="Server">
<P>
<TABLE class="formSection">
<TR>
<TD class="formSectionHeader"><IMG onmouseover="showHelp('helpParentSection')" onmouseout="hideHelp()" src="../help/help.gif" align="right" border="0">
Parent Section
</TD>
</TR>
<TR>
<TD class="formSectionHelp">Select a parent section for this section.
</TD>
</TR>
<TR>
<TD class="formSectionContents">
<asp:dropdownlist id="dropParentSections" runat="server"></asp:dropdownlist></TD>
</TR>
</TABLE>
</P>
</asp:Panel>
<div id="helpParentSection" style="DISPLAY:none">
<P>The Any Section Parent Mod changes the built-in behavior of the CSK to allow any
section type (page type) to be a parent section. All sections of a page type that are configured as a possible parent type will appear in this list.</P>
<P>Any page type can be a parent of other sections; however, there are two
built-in sections specially designed to be parents. The Home section, and the
Parent Section types are pre-designed to be parent sections. If you choose
another page type to be a parent, you may have to make special arrangements
in order to allow users to navigate to the child sections. The built-in section
menu will only show the Home section's children, and only the built-in Parent
section type contains it's own child-section navigation controls.
</div>
<!-- Section Enabled -->
<p>
<table class="formSection">
<tr>
<td class="formSectionHeader">
<img border="0" src="../help/help.gif" align="right" onmouseover="showHelp('helpIsEnabled')" onmouseout="hideHelp()">
Section Enabled
</td>
</tr>
<tr>
<td class="formSectionHelp">
Uncheck to hide this section.
</td>
</tr>
<tr>
<td class="formSectionContents">
<asp:checkbox id="chkIsEnabled" runat="server" />
</td>
</tr>
</table>
</p>
<div id="helpIsEnabled" style="DISPLAY:none">
When you disable a section, the section is no longer displayed. Disabling a section
does not delete the section content.
</div>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -