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 SourceHtmlOutput
Gets the Html content for this WebControl rendering.
Declaration
public abstract string HtmlOutput { get; }
Property Value
Type | Description |
---|---|
System.String |
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 |
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 |
PortalSettings
Gets the portal settings for the portal where the WebControl is displayed.
Declaration
public PortalSettings PortalSettings { get; }
Property Value
Type | Description |
---|---|
PortalSettings |
ResourcesFolderUrl
Gets a url to the web control resources folder.
Declaration
public string ResourcesFolderUrl { get; }
Property Value
Type | Description |
---|---|
System.String |
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 |
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 SourceRenderContents(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. |