The CMSButton type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
![]() | CMSButton |
Methods
Name | Description | |
---|---|---|
![]() | ![]() | Adds the attributes of the (Inherited from ![]() ![]() |
![]() | ![]() | (Inherited from ![]() |
![]() | ![]() | Notifies the server control that an element, either XML or HTML, was parsed, and adds the element to the server control's (Inherited from ![]() ![]() |
![]() | ![]() | Copies any nonblank elements of the specified style to the Web control, overwriting any existing style elements of the control. This method is primarily used by control developers. (Inherited from ![]() |
![]() | ![]() | Applies the style properties defined in the page style sheet to the control. (Inherited from ![]() |
![]() | ![]() | Gathers information about the server control and delivers it to the (Inherited from ![]() ![]() |
![]() | ![]() | Sets the cached (Inherited from ![]() ![]() |
![]() | ![]() | Sets the (Inherited from ![]() ![]() ![]() |
![]() | ![]() | Deletes the control-state information for the server control's child controls. (Inherited from ![]() |
![]() | ![]() | Deletes the view-state and control-state information for all the server control's child controls. (Inherited from ![]() |
![]() | ![]() | Deletes the view-state information for all the server control's child controls. (Inherited from ![]() |
![]() | ![]() | Copies the properties not encapsulated by the (Inherited from ![]() ![]() |
![]() | ![]() | Creates a new (Inherited from ![]() ![]() |
![]() | ![]() | Creates the style object that is used internally by the (Inherited from ![]() ![]() |
![]() | ![]() | Called by the ASP.NET page framework to notify server controls that use composition-based implementation to create any child controls they contain in preparation for posting back or rendering. (Inherited from ![]() |
![]() | ![]() | Binds a data source to the invoked server control and all its child controls. (Inherited from ![]() |
![]() | ![]() | Binds a data source to the invoked server control and all its child controls with an option to raise the (Inherited from ![]() ![]() |
![]() | ![]() | Binds a data source to the server control's child controls. (Inherited from ![]() |
![]() | ![]() | Enables a server control to perform final clean up before it is released from memory. (Inherited from ![]() |
![]() | ![]() | Determines whether the server control contains child controls. If it does not, it creates child controls. (Inherited from ![]() |
![]() | ![]() | Creates an identifier for controls that do not have an identifier assigned. (Inherited from ![]() |
![]() | ![]() | (Inherited from ![]() |
![]() | ![]() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from ![]() |
![]() | ![]() | Searches the current naming container for a server control with the specified id parameter. (Inherited from ![]() |
![]() | ![]() | Searches the current naming container for a server control with the specified id and an integer, specified in the pathOffset parameter, which aids in the search. You should not override this version of the (Inherited from ![]() ![]() |
![]() | ![]() | Sets input focus to a control. (Inherited from ![]() |
![]() | ![]() | Gets design-time data for a control. (Inherited from ![]() |
![]() | ![]() | Serves as a hash function for a particular type. (Inherited from ![]() |
![]() | ![]() | (Inherited from ![]() |
![]() | ![]() | Gets the URL that corresponds to a set of route parameters. (Inherited from ![]() |
![]() | ![]() | Gets the URL that corresponds to a set of route parameters. (Inherited from ![]() |
![]() | ![]() | Gets the URL that corresponds to a set of route parameters and a route name. (Inherited from ![]() |
![]() | ![]() | Gets the URL that corresponds to a set of route parameters and a route name. (Inherited from ![]() |
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | ![]() | Returns the prefixed portion of the (Inherited from ![]() ![]() |
![]() | ![]() | Determines if the server control contains any child controls. (Inherited from ![]() |
![]() | ![]() | Returns a value indicating whether events are registered for the control or any child controls. (Inherited from ![]() |
![]() | ![]() | Determines if the server control holds only literal content. (Inherited from ![]() |
![]() | ![]() | Restores control-state information from a previous page request that was saved by the (Inherited from ![]() ![]() |
![]() | ![]() | Restores view-state information from a previous request that was saved with the (Inherited from ![]() ![]() |
![]() | ![]() | Retrieves the physical path that a virtual path, either absolute or relative, maps to. (Inherited from ![]() |
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | ![]() | Copies any nonblank elements of the specified style to the Web control, but will not overwrite any existing style elements of the control. This method is used primarily by control developers. (Inherited from ![]() |
![]() | ![]() | Determines whether the event for the server control is passed up the page's UI server control hierarchy. (Inherited from ![]() |
![]() | ![]() | (Inherited from ![]() |
![]() | ![]() | (Inherited from ![]() |
![]() | ![]() | Raises the (Inherited from ![]() ![]() |
![]() | ![]() | Raises the (Inherited from ![]() ![]() |
![]() | ![]() | Raises the (Inherited from ![]() ![]() |
![]() | OnPreRender |
PreRender event handler
(Overrides ![]() |
![]() | ![]() | Raises the (Inherited from ![]() ![]() |
![]() | ![]() | Gets a (Inherited from ![]() ![]() |
![]() | ![]() | Assigns any sources of the event and its information to the control's parent. (Inherited from ![]() |
![]() | ![]() | Raises events for the (Inherited from ![]() ![]() |
![]() | ![]() | (Inherited from ![]() |
![]() | Render |
Renders the button.
(Overrides ![]() |
![]() | ![]() | Renders the HTML opening tag of the control to the specified writer. This method is used primarily by control developers. (Inherited from ![]() |
![]() | RenderContents |
Renders content.
(Overrides ![]() |
![]() | ![]() | Outputs server control content to a provided (Inherited from ![]() ![]() |
![]() | ![]() | Outputs server control content to a provided (Inherited from ![]() ![]() ![]() |
![]() | ![]() | Renders the HTML closing tag of the control into the specified writer. This method is used primarily by control developers. (Inherited from ![]() |
![]() | ![]() | Outputs the content of a server control's children to a provided (Inherited from ![]() ![]() |
![]() | ![]() | Gets the control adapter responsible for rendering the specified control. (Inherited from ![]() |
![]() | ![]() | Gets a URL that can be used by the browser. (Inherited from ![]() |
![]() | ![]() | Converts a URL into one that is usable on the requesting client. (Inherited from ![]() |
![]() | ![]() | Saves any server control state changes that have occurred since the time the page was posted back to the server. (Inherited from ![]() |
![]() | ![]() | Saves any state that was modified after the (Inherited from ![]() ![]() |
![]() | ![]() | Sets design-time data for a control. (Inherited from ![]() |
![]() | ![]() | Assigns an event handler delegate to render the server control and its content into its parent control. (Inherited from ![]() |
![]() | ![]() | Returns a string that represents the current object. (Inherited from ![]() |
![]() | ![]() | Causes the control to track changes to its view state so they can be stored in the object's (Inherited from ![]() ![]() |
Extension Methods
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.) |
![]() | 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.) |
Fields
Name | Description | |
---|---|---|
![]() ![]() | ICON_PLACEMENT_MACRO |
When this expression is used in Text property, it wil be replaced with icon markup.
|
Properties
Name | Description | |
---|---|---|
![]() | ![]() | Gets or sets the access key that allows you to quickly navigate to the Web server control. (Inherited from ![]() |
![]() | ![]() | Gets the browser-specific adapter for the control. (Inherited from ![]() |
![]() | ![]() | Gets or sets the application-relative virtual directory of the (Inherited from ![]() ![]() ![]() |
![]() | ![]() | Gets the collection of arbitrary attributes (for rendering only) that do not correspond to properties on the control. (Inherited from ![]() |
![]() | ![]() | Gets or sets the background color of the Web server control. (Inherited from ![]() |
![]() | ![]() | Gets the control that contains this control's data binding. (Inherited from ![]() |
![]() | ![]() | Gets or sets the border color of the Web control. (Inherited from ![]() |
![]() | ![]() | Gets or sets the border style of the Web server control. (Inherited from ![]() |
![]() | ![]() | Gets or sets the border width of the Web server control. (Inherited from ![]() |
![]() | ButtonStyle |
Gets or sets the style of the button.
|
![]() | ![]() | Gets or sets a value indicating whether validation is performed when the (Inherited from ![]() ![]() |
![]() | ![]() | Gets the control ID for HTML markup that is generated by ASP.NET. (Inherited from ![]() |
![]() | ![]() | Gets or sets the algorithm that is used to generate the value of the (Inherited from ![]() ![]() |
![]() | ![]() | Gets a character value representing the separator character used in the (Inherited from ![]() ![]() |
![]() | ![]() | Gets or sets an optional parameter passed to the (Inherited from ![]() ![]() ![]() |
![]() | ![]() | Gets or sets the command name associated with the (Inherited from ![]() ![]() ![]() |
![]() | ComponentName |
Component name
|
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | ![]() | Gets a (Inherited from ![]() ![]() |
![]() | ![]() | Gets the style of the Web server control. This property is used primarily by control developers. (Inherited from ![]() |
![]() | ![]() | Gets a value indicating whether a (Inherited from ![]() ![]() ![]() |
![]() | ![]() | Gets or sets the Cascading Style Sheet (CSS) class rendered by the Web server control on the client. (Inherited from ![]() |
![]() | ![]() | Gets a reference to the naming container if the naming container implements (Inherited from ![]() ![]() |
![]() | ![]() | Gets a reference to the naming container if the naming container implements (Inherited from ![]() ![]() |
![]() | ![]() | Gets a value indicating whether a control is being used on a design surface. (Inherited from ![]() |
![]() | DisableAfterSubmit |
Indicates whether button should disable its click handler upon first click.
|
![]() | ![]() | Gets or sets a value indicating whether the Web server control is enabled. (Inherited from ![]() |
![]() | ![]() | Gets or sets a value indicating whether themes apply to this control. (Inherited from ![]() |
![]() | ![]() | Gets or sets a value indicating whether the server control persists its view state, and the view state of any child controls it contains, to the requesting client. (Inherited from ![]() |
![]() | ![]() | Gets a list of event handler delegates for the control. This property is read-only. (Inherited from ![]() |
![]() | ![]() | Gets the font properties associated with the Web server control. (Inherited from ![]() |
![]() | ![]() | Gets or sets the foreground color (typically the color of the text) of the Web server control. (Inherited from ![]() |
![]() | ![]() | Gets a value indicating whether the control has attributes set. (Inherited from ![]() |
![]() | ![]() | Gets a value indicating whether the current server control's child controls have any saved view-state settings. (Inherited from ![]() |
![]() | ![]() | Gets or sets the height of the Web server control. (Inherited from ![]() |
![]() | ![]() | Gets a value that indicates whether the server control's child controls have been created. (Inherited from ![]() |
![]() | 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.
|
![]() | ![]() | Gets or sets the programmatic identifier assigned to the server control. (Inherited from ![]() |
![]() | ![]() | Gets the character used to separate control identifiers. (Inherited from ![]() |
![]() | ![]() | Gets a value indicating whether the control is enabled. (Inherited from ![]() |
![]() | ![]() | Gets a value indicating whether controls contained within this control have control state. (Inherited from ![]() |
![]() | IsLiveSite |
Indicates if control is used on live site.
|
![]() | ![]() | Gets a value that indicates whether the server control is saving changes to its view state. (Inherited from ![]() |
![]() | ![]() | Gets a value indicating whether view state is enabled for this control. (Inherited from ![]() |
![]() | ![]() | Gets a value indicating whether the control participates in loading its view state by (Inherited from ![]() ![]() |
![]() | ![]() | Gets a reference to the server control's naming container, which creates a unique namespace for differentiating between server controls with the same (Inherited from ![]() ![]() |
![]() | ![]() | (Inherited from ![]() |
![]() | ![]() | Gets a reference to the (Inherited from ![]() ![]() |
![]() | ![]() | Gets a reference to the server control's parent control in the page control hierarchy. (Inherited from ![]() |
![]() | ![]() | Gets or sets the URL of the page to post to from the current page when the (Inherited from ![]() ![]() |
![]() | ![]() | Gets a value that specifies the ASP.NET version that rendered HTML will be compatible with. (Inherited from ![]() |
![]() | RenderInputTag |
When true input tag is rendered instead of button tag.
|
![]() | RenderScript |
Indicates if java script methods for enabling/disabling button should be generated.
|
![]() | ![]() | Gets information about the container that hosts the current control when rendered on a design surface. (Inherited from ![]() |
![]() | ![]() | Gets or sets the skin to apply to the control. (Inherited from ![]() |
![]() | StopProcessing |
Indicates if the control should perform the operations.
|
![]() | ![]() | Gets a collection of text attributes that will be rendered as a style attribute on the outer tag of the Web server control. (Inherited from ![]() |
![]() | ![]() | Gets a value that indicates whether the control should set the disabled attribute of the rendered HTML element to "disabled" when the control's (Inherited from ![]() ![]() |
![]() | ![]() | Gets or sets the tab index of the Web server control. (Inherited from ![]() |
![]() | TagKey |
HTML tag for this control.
(Overrides ![]() |
![]() | ![]() | Gets the name of the control tag. This property is used primarily by control developers. (Inherited from ![]() |
![]() | ![]() | Gets or sets a reference to the template that contains this control. (Inherited from ![]() |
![]() | ![]() | (Inherited from ![]() |
![]() | Text |
Text displayed in button control.
|
![]() | ToolTip |
Tooltip text.
|
![]() | ![]() | Gets the unique, hierarchically qualified identifier for the server control. (Inherited from ![]() |
![]() | ![]() | Gets or sets a value indicating whether the (Inherited from ![]() ![]() |
![]() | ![]() | Gets or sets the group of controls for which the (Inherited from ![]() ![]() |
![]() | ![]() | Gets a dictionary of state information that allows you to save and restore the view state of a server control across multiple requests for the same page. (Inherited from ![]() |
![]() | ![]() | Gets a value that indicates whether the (Inherited from ![]() ![]() |
![]() | ![]() | Gets or sets the view-state mode of this control. (Inherited from ![]() |
![]() | ![]() | Gets or sets a value that indicates whether a server control is rendered as UI on the page. (Inherited from ![]() |
![]() | ![]() | Gets or sets the width of the Web server control. (Inherited from ![]() |
Events
Name | Description | |
---|---|---|
![]() | ![]() | Occurs when the (Inherited from ![]() ![]() |
![]() | ![]() | Occurs when the (Inherited from ![]() ![]() |
![]() | ![]() | Occurs when the server control binds to a data source. (Inherited from ![]() |
![]() | ![]() | Occurs when a server control is released from memory, which is the last stage of the server control lifecycle when an ASP.NET page is requested. (Inherited from ![]() |
![]() | ![]() | Occurs when the server control is initialized, which is the first step in its lifecycle. (Inherited from ![]() |
![]() | ![]() | Occurs when the server control is loaded into the (Inherited from ![]() ![]() |
![]() | ![]() | Occurs after the (Inherited from ![]() ![]() |
![]() | ![]() | Occurs when the server control is unloaded from memory. (Inherited from ![]() |
See Also