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

Class PortalModuleBase

The PortalModuleBase class defines a custom base class inherited by all desktop portal modules within the Portal.

The PortalModuleBase class defines portal specific properties that are used by the portal framework to correctly display portal modules.

Inheritance
System.Object
UserControlBase
PortalModuleBase
ModuleSettingsBase
UserModuleBase
AuthenticationSettingsBase
FolderMappingSettingsControlBase
Help
Implements
IModuleControl
Inherited Members
UserControlBase.IsHostMenu
UserControlBase.PortalSettings
Namespace: DotNetNuke.Entities.Modules
Assembly: DotNetNuke.dll
Syntax
public class PortalModuleBase : UserControlBase, IModuleControl

Fields

| Improve this Doc View Source

FileInfoRegex

The PortalModuleBase class defines a custom base class inherited by all desktop portal modules within the Portal.

The PortalModuleBase class defines portal specific properties that are used by the portal framework to correctly display portal modules.

Declaration
protected static readonly Regex FileInfoRegex
Field Value
Type Description
Regex

Properties

| Improve this Doc View Source

Actions

The PortalModuleBase class defines a custom base class inherited by all desktop portal modules within the Portal.

The PortalModuleBase class defines portal specific properties that are used by the portal framework to correctly display portal modules.

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

CacheDirectory

Gets the CacheDirectory property is used to return the location of the "Cache" Directory for the Module.

Declaration
public string CacheDirectory { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

CacheFileName

Gets the CacheFileName property is used to store the FileName for this Module's Cache.

Declaration
public string CacheFileName { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

CacheKey

The PortalModuleBase class defines a custom base class inherited by all desktop portal modules within the Portal.

The PortalModuleBase class defines portal specific properties that are used by the portal framework to correctly display portal modules.

Declaration
public string CacheKey { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ContainerControl

The PortalModuleBase class defines a custom base class inherited by all desktop portal modules within the Portal.

The PortalModuleBase class defines portal specific properties that are used by the portal framework to correctly display portal modules.

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

Control

Gets the underlying base control for this ModuleControl.

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

A String.

| Improve this Doc View Source

ControlName

Gets the Name for this control.

Declaration
public string ControlName { get; }
Property Value
Type Description
System.String

A String.

| Improve this Doc View Source

ControlPath

Gets the Path for this control (used primarily for UserControls).

Declaration
public string ControlPath { get; }
Property Value
Type Description
System.String

A String.

| Improve this Doc View Source

DependencyProvider

Gets the Dependency Provider to resolve registered services with the container.

Declaration
protected IServiceProvider DependencyProvider { get; }
Property Value
Type Description
IServiceProvider

The Dependency Service.

| Improve this Doc View Source

EditMode

Gets a value indicating whether the EditMode property is used to determine whether the user is in the Administrator role Cache.

Declaration
public bool EditMode { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

HelpURL

The PortalModuleBase class defines a custom base class inherited by all desktop portal modules within the Portal.

The PortalModuleBase class defines portal specific properties that are used by the portal framework to correctly display portal modules.

Declaration
public string HelpURL { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

IsEditable

The PortalModuleBase class defines a custom base class inherited by all desktop portal modules within the Portal.

The PortalModuleBase class defines portal specific properties that are used by the portal framework to correctly display portal modules.

Declaration
public bool IsEditable { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

LocalResourceFile

Gets or sets the local resource file for this control.

Declaration
public string LocalResourceFile { get; set; }
Property Value
Type Description
System.String

A String.

| Improve this Doc View Source

ModuleConfiguration

The PortalModuleBase class defines a custom base class inherited by all desktop portal modules within the Portal.

The PortalModuleBase class defines portal specific properties that are used by the portal framework to correctly display portal modules.

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

ModuleContext

Gets the Module Context for this control.

Declaration
public ModuleInstanceContext ModuleContext { get; }
Property Value
Type Description
ModuleInstanceContext

A ModuleInstanceContext.

| Improve this Doc View Source

ModuleId

The PortalModuleBase class defines a custom base class inherited by all desktop portal modules within the Portal.

The PortalModuleBase class defines portal specific properties that are used by the portal framework to correctly display portal modules.

Declaration
public int ModuleId { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

PortalAlias

The PortalModuleBase class defines a custom base class inherited by all desktop portal modules within the Portal.

The PortalModuleBase class defines portal specific properties that are used by the portal framework to correctly display portal modules.

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

PortalId

The PortalModuleBase class defines a custom base class inherited by all desktop portal modules within the Portal.

The PortalModuleBase class defines portal specific properties that are used by the portal framework to correctly display portal modules.

Declaration
public int PortalId { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Settings

The PortalModuleBase class defines a custom base class inherited by all desktop portal modules within the Portal.

The PortalModuleBase class defines portal specific properties that are used by the portal framework to correctly display portal modules.

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

TabId

The PortalModuleBase class defines a custom base class inherited by all desktop portal modules within the Portal.

The PortalModuleBase class defines portal specific properties that are used by the portal framework to correctly display portal modules.

Declaration
public int TabId { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

TabModuleId

The PortalModuleBase class defines a custom base class inherited by all desktop portal modules within the Portal.

The PortalModuleBase class defines portal specific properties that are used by the portal framework to correctly display portal modules.

Declaration
public int TabModuleId { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

UserId

The PortalModuleBase class defines a custom base class inherited by all desktop portal modules within the Portal.

The PortalModuleBase class defines portal specific properties that are used by the portal framework to correctly display portal modules.

Declaration
public int UserId { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

UserInfo

The PortalModuleBase class defines a custom base class inherited by all desktop portal modules within the Portal.

The PortalModuleBase class defines portal specific properties that are used by the portal framework to correctly display portal modules.

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

Methods

| Improve this Doc View Source

AddActionHandler(ActionEventHandler)

Helper method that can be used to add an ActionEventHandler to the Skin for this Module Control.

Declaration
protected void AddActionHandler(ActionEventHandler e)
Parameters
Type Name Description
ActionEventHandler e
| Improve this Doc View Source

Dispose()

The PortalModuleBase class defines a custom base class inherited by all desktop portal modules within the Portal.

The PortalModuleBase class defines portal specific properties that are used by the portal framework to correctly display portal modules.

Declaration
public override void Dispose()
| Improve this Doc View Source

EditUrl()

The PortalModuleBase class defines a custom base class inherited by all desktop portal modules within the Portal.

The PortalModuleBase class defines portal specific properties that are used by the portal framework to correctly display portal modules.

Declaration
public string EditUrl()
Returns
Type Description
System.String
| Improve this Doc View Source

EditUrl(Int32, String, Boolean, String[])

The PortalModuleBase class defines a custom base class inherited by all desktop portal modules within the Portal.

The PortalModuleBase class defines portal specific properties that are used by the portal framework to correctly display portal modules.

Declaration
public string EditUrl(int tabID, string controlKey, bool pageRedirect, params string[] additionalParameters)
Parameters
Type Name Description
System.Int32 tabID
System.String controlKey
System.Boolean pageRedirect
System.String[] additionalParameters
Returns
Type Description
System.String
| Improve this Doc View Source

EditUrl(String, String, String, String[])

The PortalModuleBase class defines a custom base class inherited by all desktop portal modules within the Portal.

The PortalModuleBase class defines portal specific properties that are used by the portal framework to correctly display portal modules.

Declaration
public string EditUrl(string keyName, string keyValue, string controlKey, params string[] additionalParameters)
Parameters
Type Name Description
System.String keyName
System.String keyValue
System.String controlKey
System.String[] additionalParameters
Returns
Type Description
System.String
| Improve this Doc View Source

EditUrl(String, String, String)

The PortalModuleBase class defines a custom base class inherited by all desktop portal modules within the Portal.

The PortalModuleBase class defines portal specific properties that are used by the portal framework to correctly display portal modules.

Declaration
public string EditUrl(string keyName, string keyValue, string controlKey)
Parameters
Type Name Description
System.String keyName
System.String keyValue
System.String controlKey
Returns
Type Description
System.String
| Improve this Doc View Source

EditUrl(String, String)

The PortalModuleBase class defines a custom base class inherited by all desktop portal modules within the Portal.

The PortalModuleBase class defines portal specific properties that are used by the portal framework to correctly display portal modules.

Declaration
public string EditUrl(string keyName, string keyValue)
Parameters
Type Name Description
System.String keyName
System.String keyValue
Returns
Type Description
System.String
| Improve this Doc View Source

EditUrl(String)

The PortalModuleBase class defines a custom base class inherited by all desktop portal modules within the Portal.

The PortalModuleBase class defines portal specific properties that are used by the portal framework to correctly display portal modules.

Declaration
public string EditUrl(string controlKey)
Parameters
Type Name Description
System.String controlKey
Returns
Type Description
System.String
| Improve this Doc View Source

GetCacheFileName(Int32)

The PortalModuleBase class defines a custom base class inherited by all desktop portal modules within the Portal.

The PortalModuleBase class defines portal specific properties that are used by the portal framework to correctly display portal modules.

Declaration
public string GetCacheFileName(int tabModuleId)
Parameters
Type Name Description
System.Int32 tabModuleId
Returns
Type Description
System.String
| Improve this Doc View Source

GetCacheKey(Int32)

The PortalModuleBase class defines a custom base class inherited by all desktop portal modules within the Portal.

The PortalModuleBase class defines portal specific properties that are used by the portal framework to correctly display portal modules.

Declaration
public string GetCacheKey(int tabModuleId)
Parameters
Type Name Description
System.Int32 tabModuleId
Returns
Type Description
System.String
| Improve this Doc View Source

GetNextActionID()

The PortalModuleBase class defines a custom base class inherited by all desktop portal modules within the Portal.

The PortalModuleBase class defines portal specific properties that are used by the portal framework to correctly display portal modules.

Declaration
public int GetNextActionID()
Returns
Type Description
System.Int32
| Improve this Doc View Source

LocalizeSafeJsString(String)

The PortalModuleBase class defines a custom base class inherited by all desktop portal modules within the Portal.

The PortalModuleBase class defines portal specific properties that are used by the portal framework to correctly display portal modules.

Declaration
protected string LocalizeSafeJsString(string key)
Parameters
Type Name Description
System.String key
Returns
Type Description
System.String
| Improve this Doc View Source

LocalizeString(String)

The PortalModuleBase class defines a custom base class inherited by all desktop portal modules within the Portal.

The PortalModuleBase class defines portal specific properties that are used by the portal framework to correctly display portal modules.

Declaration
protected string LocalizeString(string key)
Parameters
Type Name Description
System.String key
Returns
Type Description
System.String
| Improve this Doc View Source

OnInit(EventArgs)

The PortalModuleBase class defines a custom base class inherited by all desktop portal modules within the Portal.

The PortalModuleBase class defines portal specific properties that are used by the portal framework to correctly display portal modules.

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

OnLoad(EventArgs)

The PortalModuleBase class defines a custom base class inherited by all desktop portal modules within the Portal.

The PortalModuleBase class defines portal specific properties that are used by the portal framework to correctly display portal modules.

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

SynchronizeModule()

The PortalModuleBase class defines a custom base class inherited by all desktop portal modules within the Portal.

The PortalModuleBase class defines portal specific properties that are used by the portal framework to correctly display portal modules.

Declaration
public void SynchronizeModule()

Implements

IModuleControl

Extension Methods

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