AlertLabel Class |
Namespace: CMS.ExtendedControls
public class AlertLabel : Label
The AlertLabel type exposes the following members.
Name | Description | |
---|---|---|
AlertLabel |
Name | Description | |
---|---|---|
AlertType |
Indicates whether the alert should render as error, warning or information panel.
| |
LabelClientID |
Returns the client ID of the label element.
| |
ResourceString |
Name of a resource string used for text. Property Text has higher priority.
| |
TagKey |
Gets the HTML tag that is used to render the Label control.
(Overrides LabelTagKey.) | |
Visible |
Gets or sets a value that indicates whether a server control is rendered as UI on the page.
(Overrides ControlVisible.) |
Name | Description | |
---|---|---|
Render |
Initializes the alert icon and CSS classes and renders the alert label to given writer.
(Overrides WebControlRender(HtmlTextWriter).) | |
RenderContents |
Renders the alert icon and wraps label content in a span element.
(Overrides LabelRenderContents(HtmlTextWriter).) |
Name | Description | |
---|---|---|
AddCssClass |
Adds CSS class to control. If class is already present, than adding is skipped. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
CallHandled |
Calls the method handled by the exception handler. If the call doesn't succeed, the problem is reported through parent IExceptionHandler control instead of throwing unhandled exception for the entire page.
Returns true, if the call succeeded, otherwise returns false.
(Defined by ControlsExtensions.) | |
GetCssClasses |
Returns all CSS classes of control.
(Defined by ControlsExtensions.) | |
GetRenderedHTML |
Returns HTML which would be rendered by control to page.
(Defined by ControlsExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by ControlsExtensions.) | |
HasCssClass |
Checks whether the control has given CSS class. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
RemoveCssClass |
Removes all occurrences. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
SetCssClasses |
Sets CSS classes to the control. Current classes will be overridden.
(Defined by ControlsExtensions.) |