The C1Button type exposes the following members.

Constructors

  Name Description
Public method C1Button
Initializes a new instance of the C1Button class.

Methods

  Name Description
Public method AssignPropertiesState
Assigns the properties state hash that used to retrieve and store properties values.
(Inherited from C1ThemeableControlBase.)
Public method ClearPendingPostbackEvents
Clear pending postback events.
(Inherited from C1ThemeableControlBase.)
Public method CreateInstance
Creates the instance of the class. Type of the class can be determined by value of the DOM element's className.
(Inherited from C1ThemeableControlBase.)
Public method DoPostBack
Execute postback.
(Inherited from C1ThemeableControlBase.)
Public method Initialize
Initializes this instance.
(Overrides ComponentInitialize()()()().)
Public method Invalidate
Invalidates the entire surface of the control and causes the control to be redrawn.
(Inherited from C1ThemeableControlBase.)
Public method PendingPostbackEvent
Call this method if you want to raise server event on postback or callback.
(Inherited from C1ThemeableControlBase.)
Public method PendingPostbackPropertyChanged
Called when property changed.
(Inherited from C1ThemeableControlBase.)
Public method SaveState
Saves the properties state.
(Inherited from C1ThemeableControlBase.)
Public method UpdateVisibility
Updates button visibility.

Properties

  Name Description
Public property ActiveImageUrl
Gets or sets the URL path to the image that will be shown when button is touched.
Public property ButtonType
Gets or sets the type of the button.
Public property ClientObjectID
Gets the client side object ID. This id can be used as alternative to $find(id) method when instance of control class created dynamically without registering within ASP .NET AJAX framework. Usage example: var controlObj = window[control.get_clientObjectID());
(Inherited from C1ThemeableControlBase.)
Public property DisplayVisible
Gets or sets a value that indicates whether control will be shown.
Public property Enabled
Gets or sets a value indicating whether the Web server control is enabled.
(Inherited from C1ThemeableControlBase.)
Public property ImageElement
Gets the image element.
Public property ImageNodeElement
Gets the image node element.
Public property ImageUrl
Gets or sets the URL path to the image that will be shown along with button text.
Public property NavigateUrl
Gets or sets the URL to navigate to when the button is clicked.
Public property OutermostElement
Gets the otermost control container element.
(Inherited from C1ThemeableControlBase.)
Public property PropertiesState
Constructs a state characterized by dictionary properties.
(Inherited from C1ThemeableControlBase.)
Public property Text
Gets or sets the text.
Public property TextElement
Gets the text element.
Public property UniqueID
Gets the unique, hierarchically qualified identifier for server control.
(Inherited from C1ThemeableControlBase.)
Public property VisualStyle
Gets or sets the visual style name used by the control.
(Inherited from C1ThemeableControlBase.)

Events

  Name Description
Public event Click
Occurs when button clicked.

See Also