Class Container
Container is the base for the Containers.
Inheritance
Namespace: DotNetNuke.UI.Containers
Assembly: DotNetNuke.dll
Syntax
public class Container : UserControl
Properties
| Improve this Doc View SourceContainerPath
Gets the Path for this container.
Declaration
public string ContainerPath { get; }
Property Value
Type | Description |
---|---|
System.String | A String. |
ContainerSrc
Gets or sets the Source for this container.
Declaration
public string ContainerSrc { get; set; }
Property Value
Type | Description |
---|---|
System.String | A String. |
ContentPane
Gets the Content Pane Control (Id="ContentPane").
Declaration
protected HtmlContainerControl ContentPane { get; }
Property Value
Type | Description |
---|---|
HtmlContainerControl | An HtmlContainerControl. |
ModuleConfiguration
Gets and sets the ModuleInfo object that this container is displaying.
Declaration
public ModuleInfo ModuleConfiguration { get; }
Property Value
Type | Description |
---|---|
ModuleInfo | A ModuleInfo object. |
ModuleControl
Gets the ModuleControl object that this container is displaying.
Declaration
public IModuleControl ModuleControl { get; }
Property Value
Type | Description |
---|---|
IModuleControl | A ModuleHost object. |
ModuleHost
Gets the ModuleHost object that this container is displaying.
Declaration
public ModuleHost ModuleHost { get; }
Property Value
Type | Description |
---|---|
ModuleHost | A ModuleHost object. |
ParentSkin
Gets the Parent Container for this container.
Declaration
public Skin ParentSkin { get; }
Property Value
Type | Description |
---|---|
Skin | A String. |
PortalSettings
Gets the Portal Settings for the current Portal.
Declaration
protected PortalSettings PortalSettings { get; }
Property Value
Type | Description |
---|---|
PortalSettings | A PortalSettings object. |
Methods
| Improve this Doc View SourceOnInit(EventArgs)
OnInit runs when the Container is initialised.
Declaration
protected override void OnInit(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
EventArgs | e |
OnLoad(EventArgs)
OnLoad runs when the Container is loaded.
Declaration
protected override void OnLoad(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
EventArgs | e |
OnPreRender(EventArgs)
OnLoad runs just before the Container is rendered.
Declaration
protected override void OnPreRender(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
EventArgs | e |
OnUnload(EventArgs)
OnUnLoad runs when the Container is unloaded.
Declaration
protected override void OnUnload(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
EventArgs | e |
SetModuleConfiguration(ModuleInfo)
Container is the base for the Containers.
Declaration
public void SetModuleConfiguration(ModuleInfo configuration)
Parameters
Type | Name | Description |
---|---|---|
ModuleInfo | configuration |