CMSButton Class |
Namespace: CMS.Base.Web.UI
public class CMSButton : Button
The CMSButton type exposes the following members.
Name | Description | |
---|---|---|
ICON_PLACEMENT_MACRO |
When this expression is used in Text property, it wil be replaced with icon markup.
|
Name | Description | |
---|---|---|
ButtonStyle |
Gets or sets the style of the button.
| |
ComponentName |
Component name
| |
DisableAfterSubmit |
Indicates whether button should disable its click handler upon first click.
| |
IconCssClass |
Gets or sets the CSS class that serves as icon for the button.
Icon is by default rendered before text. Position of the icon can be overriden by
using expression ICON_PLACEMENT_MACRO inside the text property.
| |
IsLiveSite |
Indicates if control is used on live site.
| |
RenderInputTag |
When true input tag is rendered instead of button tag.
| |
RenderScript |
Indicates if java script methods for enabling/disabling button should be generated.
| |
StopProcessing |
Indicates if the control should perform the operations.
| |
TagKey |
HTML tag for this control.
(Overrides WebControlTagKey.) | |
Text |
Text displayed in button control.
| |
ToolTip |
Tooltip text.
|
Name | Description | |
---|---|---|
OnPreRender |
PreRender event handler
(Overrides ButtonOnPreRender(EventArgs).) | |
Render |
Renders the button.
(Overrides WebControlRender(HtmlTextWriter).) | |
RenderContents |
Renders content.
(Overrides ButtonRenderContents(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.) |