Show / Hide Table of Contents

Class ControlPanelBase

Inheritance
object
Control
TemplateControl
UserControl
ControlPanelBase
Implements
IComponent
IDisposable
IParserAccessor
IUrlResolutionService
IDataBindingsAccessor
IControlBuilderAccessor
IControlDesignerAccessor
IExpressionsAccessor
IFilterResolutionService
IAttributeAccessor
INamingContainer
IUserControlDesignerAccessor
Inherited Members
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.OnLoad(EventArgs)
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.Dispose()
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.UI.ControlPanels
Assembly: DotNetNuke.dll
Syntax
public class ControlPanelBase : UserControl, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IFilterResolutionService, IAttributeAccessor, INamingContainer, IUserControlDesignerAccessor

Constructors

ControlPanelBase()

Declaration
[Obsolete("Deprecated in DotNetNuke 10.2.2. Please use overload with IEventLogger. Scheduled removal in v12.0.0.")]
public ControlPanelBase()

ControlPanelBase(IEventLogger, IPermissionDefinitionService)

Declaration
public ControlPanelBase(IEventLogger eventLogger, IPermissionDefinitionService permissionDefinitionService)
Parameters
Type Name Description
IEventLogger eventLogger
IPermissionDefinitionService permissionDefinitionService

Properties

IncludeInControlHierarchy

Declaration
public virtual bool IncludeInControlHierarchy { get; }
Property Value
Type Description
bool

IsDockable

Declaration
public virtual bool IsDockable { get; set; }
Property Value
Type Description
bool

IsVisible

Declaration
protected bool IsVisible { get; }
Property Value
Type Description
bool

LocalResourceFile

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

PortalSettings

Declaration
protected PortalSettings PortalSettings { get; }
Property Value
Type Description
PortalSettings

UserMode

Declaration
protected PortalSettings.Mode UserMode { get; }
Property Value
Type Description
PortalSettings.Mode

Methods

AddExistingModule(int, int, string, int, string)

Declaration
protected void AddExistingModule(int moduleId, int tabId, string paneName, int position, string align)
Parameters
Type Name Description
int moduleId
int tabId
string paneName
int position
string align

AddNewModule(string, int, string, int, ViewPermissionType, string)

Declaration
protected void AddNewModule(string title, int desktopModuleId, string paneName, int position, ControlPanelBase.ViewPermissionType permissionType, string align)
Parameters
Type Name Description
string title
int desktopModuleId
string paneName
int position
ControlPanelBase.ViewPermissionType permissionType
string align

BuildURL(int, string)

Declaration
protected string BuildURL(int portalID, string friendlyName)
Parameters
Type Name Description
int portalID
string friendlyName
Returns
Type Description
string

GetModulePermission(int, string)

Declaration
protected bool GetModulePermission(int portalID, string friendlyName)
Parameters
Type Name Description
int portalID
string friendlyName
Returns
Type Description
bool

IsModuleAdmin()

Declaration
protected bool IsModuleAdmin()
Returns
Type Description
bool

IsPageAdmin()

Declaration
protected bool IsPageAdmin()
Returns
Type Description
bool

OnInit(EventArgs)

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

SetUserMode(string)

Declaration
protected void SetUserMode(string userMode)
Parameters
Type Name Description
string userMode

SetVisibleMode(bool)

Declaration
protected void SetVisibleMode(bool isVisible)
Parameters
Type Name Description
bool isVisible

Implements

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

Extension Methods

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