Show / Hide Table of Contents

Class PortalModuleBase

Inheritance
object
Control
TemplateControl
UserControl
UserControlBase
PortalModuleBase
ModuleSettingsBase
UserModuleBase
AuthenticationSettingsBase
FolderMappingSettingsControlBase
Help
Implements
IComponent
IDisposable
IParserAccessor
IUrlResolutionService
IDataBindingsAccessor
IControlBuilderAccessor
IControlDesignerAccessor
IExpressionsAccessor
IFilterResolutionService
IAttributeAccessor
INamingContainer
IUserControlDesignerAccessor
IModuleControl
Inherited Members
UserControlBase.IsHostMenu
UserControlBase.PortalSettings
UserControl.LoadViewState(object)
UserControl.SaveViewState()
UserControl.MapPath(string)
UserControl.UpdateModel<TModel>(TModel)
UserControl.UpdateModel<TModel>(TModel, IValueProvider)
UserControl.TryUpdateModel<TModel>(TModel)
UserControl.TryUpdateModel<TModel>(TModel, IValueProvider)
UserControl.Attributes
UserControl.Application
UserControl.Trace
UserControl.Request
UserControl.Response
UserControl.Server
UserControl.Cache
UserControl.CachePolicy
UserControl.IsPostBack
UserControl.Session
TemplateControl.Construct()
TemplateControl.OnCommitTransaction(EventArgs)
TemplateControl.OnAbortTransaction(EventArgs)
TemplateControl.OnError(EventArgs)
TemplateControl.CreateResourceBasedLiteralControl(int, int, bool)
TemplateControl.TestDeviceFilter(string)
TemplateControl.LoadControl(string)
TemplateControl.LoadControl(Type, object[])
TemplateControl.LoadTemplate(string)
TemplateControl.ParseControl(string)
TemplateControl.ParseControl(string, bool)
TemplateControl.Eval(string)
TemplateControl.Eval(string, string)
TemplateControl.XPath(string)
TemplateControl.XPath(string, IXmlNamespaceResolver)
TemplateControl.XPath(string, string)
TemplateControl.XPath(string, string, IXmlNamespaceResolver)
TemplateControl.XPathSelect(string)
TemplateControl.XPathSelect(string, IXmlNamespaceResolver)
TemplateControl.GetLocalResourceObject(string)
TemplateControl.GetLocalResourceObject(string, Type, string)
TemplateControl.GetGlobalResourceObject(string, string)
TemplateControl.GetGlobalResourceObject(string, string, Type, string)
TemplateControl.EnableTheming
TemplateControl.AppRelativeVirtualPath
TemplateControl.CommitTransaction
TemplateControl.AbortTransaction
TemplateControl.Error
Control.ResolveAdapter()
Control.HasEvents()
Control.GetRouteUrl(object)
Control.GetRouteUrl(string, object)
Control.GetRouteUrl(RouteValueDictionary)
Control.GetRouteUrl(string, RouteValueDictionary)
Control.GetUniqueIDRelativeTo(Control)
Control.ApplyStyleSheetSkin(Page)
Control.OnDataBinding(EventArgs)
Control.DataBind()
Control.DataBind(bool)
Control.DataBindChildren()
Control.AddParsedSubObject(object)
Control.EnsureID()
Control.ClearChildState()
Control.ClearChildControlState()
Control.ClearChildViewState()
Control.ClearEffectiveClientIDMode()
Control.ClearCachedClientID()
Control.Focus()
Control.LoadControlState(object)
Control.MapPathSecure(string)
Control.OpenFile(string)
Control.OnPreRender(EventArgs)
Control.BuildProfileTree(string, bool)
Control.SaveControlState()
Control.Render(HtmlTextWriter)
Control.RenderChildren(HtmlTextWriter)
Control.RenderControl(HtmlTextWriter)
Control.RenderControl(HtmlTextWriter, ControlAdapter)
Control.OnUnload(EventArgs)
Control.RaiseBubbleEvent(object, EventArgs)
Control.OnBubbleEvent(object, EventArgs)
Control.AddedControl(Control, int)
Control.CreateControlCollection()
Control.CreateChildControls()
Control.ResolveUrl(string)
Control.ResolveClientUrl(string)
Control.FindControl(string)
Control.FindControl(string, int)
Control.GetDesignModeState()
Control.HasControls()
Control.IsLiteralContent()
Control.TrackViewState()
Control.EnsureChildControls()
Control.RemovedControl(Control)
Control.SetDesignModeState(IDictionary)
Control.SetRenderMethodDelegate(RenderMethod)
Control.ClientIDMode
Control.ClientID
Control.ClientIDSeparator
Control.Context
Control.Adapter
Control.DesignMode
Control.Events
Control.ID
Control.IsChildControlStateCleared
Control.SkinID
Control.EnableViewState
Control.ViewStateMode
Control.IsViewStateEnabled
Control.NamingContainer
Control.IdSeparator
Control.LoadViewStateByID
Control.Page
Control.RenderingCompatibility
Control.TemplateControl
Control.Parent
Control.TemplateSourceDirectory
Control.AppRelativeTemplateSourceDirectory
Control.Site
Control.Visible
Control.UniqueID
Control.HasChildViewState
Control.Controls
Control.ValidateRequestMode
Control.ViewState
Control.ViewStateIgnoresCase
Control.ChildControlsCreated
Control.IsTrackingViewState
Control.Disposed
Control.DataBinding
Control.Init
Control.Load
Control.PreRender
Control.Unload
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DotNetNuke.Entities.Modules
Assembly: DotNetNuke.dll
Syntax
public class PortalModuleBase : UserControlBase, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IFilterResolutionService, IAttributeAccessor, INamingContainer, IUserControlDesignerAccessor, IModuleControl

Constructors

PortalModuleBase()

Declaration
public PortalModuleBase()

Fields

FileInfoRegex

Declaration
protected static readonly Regex FileInfoRegex
Field Value
Type Description
Regex

Properties

Actions

Declaration
[Browsable(false)]
public ModuleActionCollection Actions { get; set; }
Property Value
Type Description
ModuleActionCollection

CacheDirectory

Declaration
[Obsolete("Deprecated in DotNetNuke 7.0.0. Please use ModuleController.CacheDirectory(). Scheduled removal in v11.0.0.")]
public string CacheDirectory { get; }
Property Value
Type Description
string

CacheFileName

Declaration
[Obsolete("Deprecated in DotNetNuke 7.0.0. Please use ModuleController.CacheFileName(TabModuleID). Scheduled removal in v11.0.0.")]
public string CacheFileName { get; }
Property Value
Type Description
string

CacheKey

Declaration
[Obsolete("Deprecated in DotNetNuke 7.0.0. Please use ModuleController.CacheKey(TabModuleID). Scheduled removal in v11.0.0.")]
public string CacheKey { get; }
Property Value
Type Description
string

ContainerControl

Declaration
[Browsable(false)]
public Control ContainerControl { get; }
Property Value
Type Description
Control

Control

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

ControlName

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

ControlPath

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

DependencyProvider

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

EditMode

Declaration
public bool EditMode { get; }
Property Value
Type Description
bool

HelpURL

Declaration
public string HelpURL { get; set; }
Property Value
Type Description
string

IsEditable

Declaration
[Browsable(false)]
public bool IsEditable { get; }
Property Value
Type Description
bool

LocalResourceFile

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

ModuleConfiguration

Declaration
[Browsable(false)]
public ModuleInfo ModuleConfiguration { get; set; }
Property Value
Type Description
ModuleInfo

ModuleContext

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

ModuleId

Declaration
[Browsable(false)]
public int ModuleId { get; set; }
Property Value
Type Description
int

PortalAlias

Declaration
[Browsable(false)]
public PortalAliasInfo PortalAlias { get; }
Property Value
Type Description
PortalAliasInfo

PortalId

Declaration
[Browsable(false)]
public int PortalId { get; }
Property Value
Type Description
int

Settings

Declaration
[Browsable(false)]
public Hashtable Settings { get; }
Property Value
Type Description
Hashtable

TabId

Declaration
[Browsable(false)]
public int TabId { get; }
Property Value
Type Description
int

TabModuleId

Declaration
[Browsable(false)]
public int TabModuleId { get; set; }
Property Value
Type Description
int

UserId

Declaration
[Browsable(false)]
public int UserId { get; }
Property Value
Type Description
int

UserInfo

Declaration
[Browsable(false)]
public UserInfo UserInfo { get; }
Property Value
Type Description
UserInfo

Methods

AddActionHandler(ActionEventHandler)

Declaration
protected void AddActionHandler(ActionEventHandler e)
Parameters
Type Name Description
ActionEventHandler e

Dispose()

Declaration
public override void Dispose()
Overrides
Control.Dispose()

EditUrl()

Declaration
[Browsable(false)]
public string EditUrl()
Returns
Type Description
string

EditUrl(int, string, bool, params string[])

Declaration
[Browsable(false)]
public string EditUrl(int tabID, string controlKey, bool pageRedirect, params string[] additionalParameters)
Parameters
Type Name Description
int tabID
string controlKey
bool pageRedirect
string[] additionalParameters
Returns
Type Description
string

EditUrl(string)

Declaration
[Browsable(false)]
public string EditUrl(string controlKey)
Parameters
Type Name Description
string controlKey
Returns
Type Description
string

EditUrl(string, string)

Declaration
[Browsable(false)]
public string EditUrl(string keyName, string keyValue)
Parameters
Type Name Description
string keyName
string keyValue
Returns
Type Description
string

EditUrl(string, string, string)

Declaration
[Browsable(false)]
public string EditUrl(string keyName, string keyValue, string controlKey)
Parameters
Type Name Description
string keyName
string keyValue
string controlKey
Returns
Type Description
string

EditUrl(string, string, string, params string[])

Declaration
[Browsable(false)]
public string EditUrl(string keyName, string keyValue, string controlKey, params string[] additionalParameters)
Parameters
Type Name Description
string keyName
string keyValue
string controlKey
string[] additionalParameters
Returns
Type Description
string

GetCacheFileName(int)

Declaration
[Obsolete("Deprecated in DotNetNuke 7.0.0. Please use ModuleController.CacheFileName(TabModuleID). Scheduled for removal in v11.0.0.")]
public string GetCacheFileName(int tabModuleId)
Parameters
Type Name Description
int tabModuleId
Returns
Type Description
string

GetCacheKey(int)

Declaration
[Obsolete("Deprecated in DotNetNuke 7.0.0. Please use ModuleController.CacheKey(TabModuleID). Scheduled for removal in v11.0.0.")]
public string GetCacheKey(int tabModuleId)
Parameters
Type Name Description
int tabModuleId
Returns
Type Description
string

GetNextActionID()

Declaration
public int GetNextActionID()
Returns
Type Description
int

LocalizeSafeJsString(string)

Declaration
protected string LocalizeSafeJsString(string key)
Parameters
Type Name Description
string key
Returns
Type Description
string

LocalizeString(string)

Declaration
protected string LocalizeString(string key)
Parameters
Type Name Description
string key
Returns
Type Description
string

OnInit(EventArgs)

Declaration
protected override void OnInit(EventArgs e)
Parameters
Type Name Description
EventArgs e
Overrides
UserControl.OnInit(EventArgs)

OnLoad(EventArgs)

Declaration
protected override void OnLoad(EventArgs e)
Parameters
Type Name Description
EventArgs e
Overrides
Control.OnLoad(EventArgs)

SynchronizeModule()

Declaration
[Obsolete("Deprecated in DotNetNuke 7.0.0. Please use ModuleController.SynchronizeModule(ModuleId). Scheduled for removal in v11.0.0.")]
public void SynchronizeModule()

Implements

IComponent
IDisposable
IParserAccessor
IUrlResolutionService
IDataBindingsAccessor
IControlBuilderAccessor
IControlDesignerAccessor
IExpressionsAccessor
IFilterResolutionService
IAttributeAccessor
INamingContainer
IUserControlDesignerAccessor
IModuleControl

Extension Methods

JsonExtensionsWeb.ToJson(object)
Back to top by the community, for the community... #DNNCMS