• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class ModuleHost

ModuleHost hosts a Module Control (or its cached Content).

Inheritance
System.Object
ModuleHost
Namespace: DotNetNuke.UI.Modules
Assembly: DotNetNuke.dll
Syntax
public sealed class ModuleHost : Panel

Constructors

| Improve this Doc View Source

ModuleHost(ModuleInfo, Skin, Container)

Initializes a new instance of the ModuleHost class. Creates a Module Host control using the ModuleConfiguration for the Module.

Declaration
public ModuleHost(ModuleInfo moduleConfiguration, Skin skin, Container container)
Parameters
Type Name Description
ModuleInfo moduleConfiguration
Skin skin
Container container

Properties

| Improve this Doc View Source

Container

ModuleHost hosts a Module Control (or its cached Content).

Declaration
public Container Container { get; }
Property Value
Type Description
Container
| Improve this Doc View Source

ModuleControl

Gets the attached ModuleControl.

Declaration
public IModuleControl ModuleControl { get; }
Property Value
Type Description
IModuleControl

An IModuleControl.

| Improve this Doc View Source

PortalSettings

Gets the current POrtal Settings.

Declaration
public PortalSettings PortalSettings { get; }
Property Value
Type Description
PortalSettings
| Improve this Doc View Source

Skin

ModuleHost hosts a Module Control (or its cached Content).

Declaration
public Skin Skin { get; }
Property Value
Type Description
Skin

Methods

| Improve this Doc View Source

CreateChildControls()

CreateChildControls builds the control tree.

Declaration
protected override void CreateChildControls()
| Improve this Doc View Source

OnPreRender(EventArgs)

ModuleHost hosts a Module Control (or its cached Content).

Declaration
protected override void OnPreRender(EventArgs e)
Parameters
Type Name Description
EventArgs e
| Improve this Doc View Source

RenderContents(HtmlTextWriter)

RenderContents renders the contents of the control to the output stream.

Declaration
protected override void RenderContents(HtmlTextWriter writer)
Parameters
Type Name Description
HtmlTextWriter writer

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS