Class LabelControl
LabelControl is a user control that provides all the server code to manage a label, including localization, 508 support and help.
Inheritance
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 SourcecmdHelp
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().
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().
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().
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().
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().
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 SourceAssociateFormat
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().
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().
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().
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().
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().
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().
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().
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().
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().
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 SourceOnLoad(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().
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().