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

Class LabelControl

LabelControl is a user control that provides all the server code to manage a label, including localization, 508 support and help.

Inheritance
System.Object
LabelControl
Namespace: DotNetNuke.UI.UserControls
Assembly: DotNetNuke.dll
Syntax
public abstract class LabelControl : UserControl
Remarks

To implement help, the control uses the ClientAPI interface. In particular the javascript function __dnn_Help_OnClick().

Fields

| Improve this Doc View Source

cmdHelp

LabelControl is a user control that provides all the server code to manage a label, including localization, 508 support and help.

Declaration
protected LinkButton cmdHelp
Field Value
Type Description
LinkButton
Remarks

To implement help, the control uses the ClientAPI interface. In particular the javascript function __dnn_Help_OnClick().

| Improve this Doc View Source

label

LabelControl is a user control that provides all the server code to manage a label, including localization, 508 support and help.

Declaration
protected HtmlGenericControl label
Field Value
Type Description
HtmlGenericControl
Remarks

To implement help, the control uses the ClientAPI interface. In particular the javascript function __dnn_Help_OnClick().

| Improve this Doc View Source

lblHelp

LabelControl is a user control that provides all the server code to manage a label, including localization, 508 support and help.

Declaration
protected Label lblHelp
Field Value
Type Description
Label
Remarks

To implement help, the control uses the ClientAPI interface. In particular the javascript function __dnn_Help_OnClick().

| Improve this Doc View Source

lblLabel

LabelControl is a user control that provides all the server code to manage a label, including localization, 508 support and help.

Declaration
protected Label lblLabel
Field Value
Type Description
Label
Remarks

To implement help, the control uses the ClientAPI interface. In particular the javascript function __dnn_Help_OnClick().

| Improve this Doc View Source

lblNoHelpLabel

LabelControl is a user control that provides all the server code to manage a label, including localization, 508 support and help.

Declaration
protected Label lblNoHelpLabel
Field Value
Type Description
Label
Remarks

To implement help, the control uses the ClientAPI interface. In particular the javascript function __dnn_Help_OnClick().

| Improve this Doc View Source

pnlHelp

LabelControl is a user control that provides all the server code to manage a label, including localization, 508 support and help.

Declaration
protected Panel pnlHelp
Field Value
Type Description
Panel
Remarks

To implement help, the control uses the ClientAPI interface. In particular the javascript function __dnn_Help_OnClick().

Properties

| Improve this Doc View Source

AssociateFormat

Gets or sets set the associate control id format, combined used with ControlName for controls which have child edit control and want that child control focus when click label.

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

To implement help, the control uses the ClientAPI interface. In particular the javascript function __dnn_Help_OnClick().

| Improve this Doc View Source

ControlName

Gets or sets controlName is the Id of the control that is associated with the label.

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

A string representing the id of the associated control.

Remarks

To implement help, the control uses the ClientAPI interface. In particular the javascript function __dnn_Help_OnClick().

| Improve this Doc View Source

CssClass

Gets or sets css style applied to the asp:label control.

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

A string representing css class name.

Remarks

To implement help, the control uses the ClientAPI interface. In particular the javascript function __dnn_Help_OnClick().

| Improve this Doc View Source

HelpKey

Gets or sets helpKey is the Resource Key for the Help Text.

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

A string representing the Resource Key for the Help Text.

Remarks

To implement help, the control uses the ClientAPI interface. In particular the javascript function __dnn_Help_OnClick().

| Improve this Doc View Source

HelpText

Gets or sets helpText is value of the Help Text if no ResourceKey is provided.

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

A string representing the Text.

Remarks

To implement help, the control uses the ClientAPI interface. In particular the javascript function __dnn_Help_OnClick().

| Improve this Doc View Source

NoHelpLabelText

LabelControl is a user control that provides all the server code to manage a label, including localization, 508 support and help.

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

To implement help, the control uses the ClientAPI interface. In particular the javascript function __dnn_Help_OnClick().

| Improve this Doc View Source

ResourceKey

Gets or sets resourceKey is the Resource Key for the Label Text.

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

A string representing the Resource Key for the Label Text.

Remarks

To implement help, the control uses the ClientAPI interface. In particular the javascript function __dnn_Help_OnClick().

| Improve this Doc View Source

Suffix

Gets or sets suffix is Optional Text that appears after the Localized Label Text.

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

A string representing the Optional Text.

Remarks

To implement help, the control uses the ClientAPI interface. In particular the javascript function __dnn_Help_OnClick().

| Improve this Doc View Source

Text

Gets or sets text is value of the Label Text if no ResourceKey is provided.

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

A string representing the Text.

Remarks

To implement help, the control uses the ClientAPI interface. In particular the javascript function __dnn_Help_OnClick().

| Improve this Doc View Source

Width

Gets or sets width is value of the Label Width.

Declaration
public Unit Width { get; set; }
Property Value
Type Description
Unit

A string representing the Text.

Remarks

To implement help, the control uses the ClientAPI interface. In particular the javascript function __dnn_Help_OnClick().

Methods

| Improve this Doc View Source

OnLoad(EventArgs)

Page_Load runs when the control is loaded.

Declaration
protected override void OnLoad(EventArgs e)
Parameters
Type Name Description
EventArgs e
Remarks

To implement help, the control uses the ClientAPI interface. In particular the javascript function __dnn_Help_OnClick().

| Improve this Doc View Source

OnPreRender(EventArgs)

LabelControl is a user control that provides all the server code to manage a label, including localization, 508 support and help.

Declaration
protected override void OnPreRender(EventArgs e)
Parameters
Type Name Description
EventArgs e
Remarks

To implement help, the control uses the ClientAPI interface. In particular the javascript function __dnn_Help_OnClick().

Extension Methods

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