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

Class ModuleUserControlBase

ModuleUserControlBase is a base class for Module Controls that inherits from the UserControl base class. As with all MontrolControl base classes it implements IModuleControl.

Inheritance
System.Object
ModuleUserControlBase
PackageEditorBase
ProfileModuleUserControlBase
Implements
IModuleControl
Namespace: DotNetNuke.UI.Modules
Assembly: DotNetNuke.dll
Syntax
public class ModuleUserControlBase : UserControl, IModuleControl

Properties

| 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

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

ModuleContext

Gets the Module Context for this control.

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

A ModuleInstanceContext.

Methods

| Improve this Doc View Source

LocalizeSafeJsString(String)

Gets a localized string with special characters escape for safe use in javascript.

Declaration
protected string LocalizeSafeJsString(string key)
Parameters
Type Name Description
System.String key

The key to find the localized value.

Returns
Type Description
System.String

The localized text cleaned up for javascript usage.

| Improve this Doc View Source

LocalizeString(String)

Gets a localized string value from a key.

Declaration
protected string LocalizeString(string key)
Parameters
Type Name Description
System.String key

The key to find the localized value.

Returns
Type Description
System.String

The localized value.

Implements

IModuleControl

Extension Methods

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