The C1Button type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
C1Button()()()() |
Initializes a new instance of the C1Button class.
|
![]() |
C1Button(String) |
Initializes a new instance of the C1Button class.
|
![]() |
C1Button(C1ButtonSettings) |
Initializes a new instance of the C1Button class.
|
![]() |
C1Button(C1ButtonType) |
Initializes a new instance of the C1Button class.
|
![]() |
C1Button(String, C1ButtonType) |
Initializes a new instance of the C1Button class.
|
![]() |
C1Button(String, C1ButtonType, String) |
Initializes a new instance of the C1Button class.
|
Methods
Name | Description | |
---|---|---|
![]() |
ApplyStyle |
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 WebControl.) |
![]() |
ApplyStyleSheetSkin |
Applies the style properties defined in the page style sheet to the control.
(Inherited from Control.) |
![]() |
CopyBaseAttributes |
Copies the properties not encapsulated by the Style object from the specified Web server control to the Web server control that this method is called from. This method is used primarily by control developers.
(Inherited from WebControl.) |
![]() |
DataBind |
Binds a data source to the invoked server control and all its child controls.
(Inherited from Control.) |
![]() |
Dispose |
Enables a server control to perform final clean up before it is released from memory.
(Inherited from Control.) |
![]() |
Equals | (Inherited from Object.) |
![]() |
FindControl |
Searches the current naming container for a server control with the specified id parameter.
(Inherited from Control.) |
![]() |
Focus |
Sets input focus to a control.
(Inherited from Control.) |
![]() ![]() |
GetControlScriptReferences |
Gets the control script references.
|
![]() |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
![]() |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() |
HasControls |
Determines if the server control contains any child controls.
(Inherited from Control.) |
![]() |
LoadPostData |
Processes postback data for an ASP.NET server control.
(Inherited from C1ThemeableControl.) |
![]() |
MergeStyle |
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 WebControl.) |
![]() |
OnVisualStyleChanged |
Override this method to handle any extra work caused by the change of VisualStyle.
(Inherited from C1ThemeableControl.) |
![]() |
RaisePostBackEvent |
Process an event
raised when a form is posted to the server.
(Inherited from C1ThemeableControl.) |
![]() |
RaisePostDataChangedEvent |
Notify the ASP.NET application that the state of the control has changed.
(Inherited from C1ThemeableControl.) |
![]() |
RegisterRunTimeStyleSheets |
Override this method if you want to render additional style sheets that will be use by control only at run-time.
(Inherited from C1ThemeableControl.) |
![]() |
RenderBeginTag |
Renders the HTML opening tag of the control to the specified writer. This method is used primarily by control developers.
(Inherited from WebControl.) |
![]() |
RenderControl |
Outputs server control content to a provided HtmlTextWriter object and stores tracing information about the control if tracing is enabled.
(Inherited from Control.) |
![]() |
RenderDesignTimeStyleSheets |
Override this method if you want to render additional style sheets that will be use by control only at design-time.
(Inherited from C1ThemeableControl.) |
![]() |
RenderEndTag |
Renders the HTML closing tag of the control into the specified writer. This method is used primarily by control developers.
(Inherited from WebControl.) |
![]() |
ResolveClientUrl |
Gets a URL that can be used by the browser.
(Inherited from Control.) |
![]() |
ResolveUrl |
Converts a URL into one that is usable on the requesting client.
(Inherited from Control.) |
![]() |
SetRenderMethodDelegate |
Assigns an event handler delegate to render the server control and its content into its parent control.
(Inherited from Control.) |
![]() |
ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
![]() |
AccessKey |
This property is hidden.
(Inherited from C1ThemeableControl.) |
![]() |
ActiveImageUrl |
Gets or sets the URL path to the image that will be shown when button is touched.
|
![]() |
AppRelativeTemplateSourceDirectory |
Gets or sets the application-relative virtual directory of the Page or UserControl object that contains this control.
(Inherited from Control.) |
![]() |
Attributes |
Gets the collection of arbitrary attributes (for rendering only) that do not correspond to properties on the control.
(Inherited from WebControl.) |
![]() |
AutoPostBack |
Sets or retrieves a value that indicates whether or not the control posts back to the server each time a user interacts with the control.
|
![]() |
BackColor |
This property is hidden.
(Inherited from C1ThemeableControl.) |
![]() |
BindingContainer |
Gets the control that contains this control's data binding.
(Inherited from Control.) |
![]() |
BorderColor |
This property is hidden.
(Inherited from C1ThemeableControl.) |
![]() |
BorderStyle |
This property is hidden.
(Inherited from C1ThemeableControl.) |
![]() |
BorderWidth |
This property is hidden.
(Inherited from C1ThemeableControl.) |
![]() |
ButtonType |
Gets or sets the type of the button.
|
![]() |
C1WebControlsPath |
Relative path to a centralized folder of ComponentOne Web Controls.
(Inherited from C1ThemeableControl.) |
![]() |
ClientID |
Gets the server control identifier generated by ASP.NET.
(Inherited from Control.) |
![]() |
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 C1ThemeableControl.) |
![]() |
Controls |
Gets a ControlCollection object that represents the child controls for a specified server control in the UI hierarchy.
(Inherited from Control.) |
![]() |
ControlStyle |
Gets the style of the Web server control. This property is used primarily by control developers.
(Inherited from WebControl.) |
![]() |
ControlStyleCreated |
Gets a value indicating whether a Style object has been created for the ControlStyle property. This property is primarily used by control developers.
(Inherited from WebControl.) |
![]() |
CssClass |
Gets or sets the Cascading Style Sheet (CSS) class rendered by the Web server control on the client.
(Inherited from WebControl.) |
![]() |
DisabledImageUrl |
Gets or sets the URL path to the image that will be shown when button is disabled.
|
![]() |
DisplayVisible |
Gets or sets a value that indicates whether a server control will be shown as UI on the page.
|
![]() |
EmbeddedVisualStyles |
Defines names of the visual styles what embedded into control's assembly.
(Overrides C1ThemeableControl..::..EmbeddedVisualStyles.) |
![]() |
Enabled |
Gets or sets a value indicating whether the Web server control is enabled.
(Inherited from C1ThemeableControl.) |
![]() |
EnableTheming |
Gets or sets a value indicating whether themes apply to this control.
(Inherited from WebControl.) |
![]() |
EnableViewState |
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 Control.) |
![]() |
Font |
This property is hidden.
(Inherited from C1ThemeableControl.) |
![]() |
ForeColor | (Inherited from C1ThemeableControl.) |
![]() |
HasAttributes |
Gets a value indicating whether the control has attributes set.
(Inherited from WebControl.) |
![]() |
Height |
Gets or sets the height of the Web server control.
(Inherited from C1ThemeableControl.) |
![]() |
ID |
Gets or sets the programmatic identifier assigned to the server control.
(Inherited from Control.) |
![]() |
ImageHeight |
Gets or sets the fixed height of the image.
|
![]() |
ImagePaddingLeft |
Gets or sets the image left padding value.
|
![]() |
ImagePaddingRight |
Gets or sets the image right padding value.
|
![]() |
ImagePaddingTop |
Gets or sets the image top padding value. If empty then 9px will be used.
|
![]() |
ImagePosition |
Gets or sets which side, left or right, the image will be rendered from the list item.
|
![]() |
ImageUrl |
Gets or sets the URL path to the image that will be shown along with button text.
|
![]() |
ImageWidth |
Gets or sets the fixed width of the image.
|
![]() |
IncludeScripts |
Gets or sets a value indicating whether client script resources should be registered within page automatically.
(Inherited from C1ThemeableControl.) |
![]() |
NamingContainer |
Gets a reference to the server control's naming container, which creates a unique namespace for differentiating between server controls with the same ID property value.
(Inherited from Control.) |
![]() |
NavigateUrl |
Gets or sets the URL to navigate to when the button is clicked.
|
![]() |
OnClientClick |
This client side event fires on client side when button is clicked.
|
![]() |
Page |
Gets a reference to the Page instance that contains the server control.
(Inherited from Control.) |
![]() |
Parent |
Gets a reference to the server control's parent control in the page control hierarchy.
(Inherited from Control.) |
![]() |
Site |
Gets information about the container that hosts the current control when rendered on a design surface.
(Inherited from Control.) |
![]() |
SkinID |
Gets or sets the skin to apply to the control.
(Inherited from WebControl.) |
![]() |
Style |
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 WebControl.) |
![]() |
TabIndex |
Gets or sets the tab index of the Web server control.
(Inherited from WebControl.) |
![]() |
TemplateControl |
Gets or sets a reference to the template that contains this control.
(Inherited from Control.) |
![]() |
TemplateSourceDirectory |
Gets the virtual directory of the Page or UserControl that contains the current server control.
(Inherited from Control.) |
![]() |
Text |
Gets or sets the button text.
|
![]() |
ToolTip |
This property is hidden.
(Inherited from C1ThemeableControl.) |
![]() |
UniqueID |
Gets the unique, hierarchically qualified identifier for the server control.
(Inherited from C1ThemeableControl.) |
![]() |
UseEmbeddedVisualStyles |
If true then control will use VisualStyle embedded into control's assembly, otherwise control will load VisualStyle from disk.
(Inherited from C1ThemeableControl.) |
![]() |
Visible |
Gets or sets a value that indicates whether a server control is rendered as UI on the page.
(Inherited from C1ThemeableControl.) |
![]() |
VisualStyle |
Gets or sets the visual style name used by the control.
(Inherited from C1ThemeableControl.) |
![]() |
VisualStylePath |
Gets or sets the path to the visual style folder.
(Inherited from C1ThemeableControl.) |
![]() |
Width |
Gets or sets the width of the Web server control.
(Inherited from C1ThemeableControl.) |
Events
Name | Description | |
---|---|---|
![]() |
Click |
Fires when button is clicked.
|
![]() |
DataBinding |
Occurs when the server control binds to a data source.
(Inherited from Control.) |
![]() |
Disposed |
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 Control.) |
![]() |
Init |
Occurs when the server control is initialized, which is the first step in its lifecycle.
(Inherited from Control.) |
![]() |
Load |
Occurs when the server control is loaded into the Page object.
(Inherited from Control.) |
![]() |
PreRender |
Occurs after the Control object is loaded but prior to rendering.
(Inherited from Control.) |
![]() |
PropertyChanged |
Fires when the property changed.
(Inherited from C1ThemeableControl.) |
![]() |
Unload |
Occurs when the server control is unloaded from memory.
(Inherited from Control.) |