אוק26
Written by:
ronen ariely
26/10/2010 10:32 
מכולות תוכן (קונטיינר) במערכת DNN
הבסיס של קונטיינר הוא כל "מכולה" הכוללת את שם ה ID המתאים. למשל שכבה הבאה:
<div id="ContentPane" runat="server">
</div>
ASP.NET Code | Description |
<%@ Register TagPrefix="dnn"
TagName="ActionButton"
Src="~/Admin/Containers/ActionButton.ascx"%> <dnn:ActionButton runat="server" id="dnnActionButton"> | This displays a button or icon, controlled by the attributes, for the various actions that are available to a DotNetNuke module: - AddContent
- EditContent
- ContentOptions
- SyndicateModule
- ImportModule
- ExportModule
- OnlineHelp
- ModuleHelp
- HelpText
- PrintModule
- ModuleSettings
- DeleteModule
- ClearCache
- MoveTop
- MoveUp
- MoveDown
- MoveBottom
- MovePane
- MoveRoot
The most common actions used with this tag are: - AddContent
- EditContent
- SyndicateModule
- PrintModule
|
<%@ Register TagPrefix="dnn"
TagName="DropDownActions"
Src="~/A...rs/DropDownActions.ascx"%> <dnn:DropDownActions runat="server" id="dnnDropDownActions" /> | This tag displays a drop-down list box with all of the actions available listed in it. |
<%@ Register TagPrefix="dnn"
TagName="Icon"
Src="~/Admin/Containers/Icon.ascx"%> <dnn:Icon runat="server" id="dnnIcon" /> | Displays the icon assigned to the module. |
<%@ Register TagPrefix="dnn"
TagName="LinkActions"
Src="~/Admin/Containers/LinkActions.ascx"%> <dnn:LinkActions runat="server" id="dnnLinkActions" /> | Displays actions as hyperlinks in a horizontal list. |
<%@ Register TagPrefix="dnn"
TagName="SolPartActions"
Src="~/A...ers/SolPartActions.ascx"%> <dnn:SolPartActions runat="server" id="dnnSolPartActions" /> | Displays the triangle for the module context menu that has all the actions. This is the triangle we are most often used to seeing represent the actions for a module and is probably the one you will use. |
<%@ Register TagPrefix="dnn"
TagName="Title"
Src="~/Admin/Containers/Title.ascx"%> <dnn:Title runat="server" id="dnnTitle" /> | This displays the title of a particular instance of a module as specified in module settings. |
<%@ Register TagPrefix="dnn"
TagName="Visibility"
Src="~/Admin/Containers/Visibility.ascx"%> <dnn:Visibility runat="server" id="dnnVisibility"> | Displays an icon that represents the expanded or collapsed state of the module. Clicking on the icon switches the state. |