CMSButton Class |
Namespace: CMS.ExtendedControls
public class CMSButton : Button
The CMSButton type exposes the following members.
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.) | |
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
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.) | |
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
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 CoreExtensions.) | |
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.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
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.
|