Click or drag to resize
KaxToolBarButton Class
Represents a single button in the KaxToolBar class.
Inheritance Hierarchy
SystemObject
  System.Web.UIControl
    System.Web.UI.WebControlsWebControl
      Kettic.AspNet.ControlsControlItem
        Kettic.AspNet.ControlsKaxToolBarItem
          Kettic.AspNet.ControlsKaxToolBarButton

Namespace: Kettic.AspNet.Controls
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
public class KaxToolBarButton : KaxToolBarItem, 
	ICloneable, IKaxToolBarButton

The KaxToolBarButton type exposes the following members.

Constructors
  NameDescription
Public methodCode exampleKaxToolBarButton
Initializes a new instance of the KaxToolBarButton class.
Public methodCode exampleKaxToolBarButton(String)
Initializes a new instance of the KaxToolBarButton class with the specified text data.
Public methodCode exampleKaxToolBarButton(String, Boolean, String)
Initializes a new instance of the KaxToolBarButton class with the specified text, checked state and group name data.
Top
Methods
  NameDescription
Public methodClone
Creates a copy of the current KaxToolBarButton object.
Top
Properties
  NameDescription
Public propertyAllowSelfUnCheck
Gets or sets a value indicating if a checked button will get unchecked when clicked.
Public propertyCausesValidation
Gets or sets a value indicating whether validation is performed when the KaxToolBarButton is clicked
Public propertyChecked
Gets or sets if the button is checked.
Public propertyCode exampleCheckedCssClass
Gets or sets the Cascading Style Sheet (CSS) class applied when the toolbar button is checked.
Public propertyCode exampleCheckedImageUrl
Gets or sets the path to an image to display for the button when its Checked state is "true".
Public propertyCheckOnClick
Gets or sets whether the button has a check state.
Public propertyCommandArgument
Gets or sets an optional parameter passed to the Command event of the KaxToolBar instance along with the associated CommandName
Public propertyCommandName
Gets or sets the command name associated with the toolbar button that is passed to the ItemCommand event of the KaxToolBar instance.
Public propertyCode exampleDataItem
Gets the data item that is bound to the button
(Overrides ControlItemDataItem.)
Public propertyGroup
Gets or sets the group to which the button belongs.
Public propertyIsSeparator
Gets or sets whether the button is separator.
Public propertyCode exampleItemTemplate
Gets or sets the template for displaying the button.
Public propertyCode exampleNavigateUrl
Gets or sets the URL to link to when the button is clicked.
Public propertyOwner
Gets a reference to the owner of the KaxToolBarButton.
Public propertyPostBack
Gets or sets a value indicating whether clicking on the button will postback.
Public propertyPostBackUrl
Gets or sets the URL of the page to post to from the current page when the KaxToolBarButton is clicked.
Public propertyCode exampleTarget
Gets or sets the target window or frame to display the Web page content linked to when the toolbar button is clicked.
Public propertyValidationGroup

Gets or sets the name of the validation group to which the KaxToolBarButton belongs.

Public propertyValue
Gets or sets the value associated with the toolbar button.
(Overrides ControlItemValue.)
Top
Remarks

When the user clicks a toolbar button, the KaxToolBar control can either navigate to a linked Web page or simply post back to the server. If the NavigateUrl property of a toolbar button is set, the KaxToolBar control navigates to the linked page. By default, a linked page is displayed in the same window or frame as the KaxToolBar control. To display the linked content in a different window or frame, use the Target property.

See Also