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

Class WebControlBase

Base class for Dnn specific WebControls.

Inheritance
System.Object
WebControlBase
Namespace: DotNetNuke.UI.WebControls
Assembly: DotNetNuke.dll
Syntax
public abstract class WebControlBase : WebControl

Properties

| Improve this Doc View Source

HtmlOutput

Gets the Html content for this WebControl rendering.

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

IsAdminMenu

Gets a value indicating whether this WebControl is currently displayed in the admin menu.

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

IsHostMenu

Gets a value indicating whether the control is currently in a page visible only to hosts.

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

PortalSettings

Gets the portal settings for the portal where the WebControl is displayed.

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

ResourcesFolderUrl

Gets a url to the web control resources folder.

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

StyleSheetUrl

Gets or sets the url to the stylesheet to use for this WebControl.

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

Theme

Gets or sets a string representing the theme to use for this WebControl.

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

Methods

| Improve this Doc View Source

RenderContents(HtmlTextWriter)

Renders the html for this WebControl to the output.

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

The output to write to.

Extension Methods

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