

Sets a value specifying the state of a check box. Sets a value which specifies the checked status of the check box editor. Returns the text displayed within the editor. Returns a value which specifies a check box checked state. Returns a value indicating whether the check box editor is checked. You can operate with the editor values using the following methods. The ASPxClientCheckBox object serves as the client-side equivalent of the CheckBox extension.

This API is implemented using JavaScript and is exposed via the ASPxClientCheckBox object. The CheckBox provides you with a comprehensive client-side API.

See the Built-in Validation topic to learn more. The CheckBox extension allows you to perform data validation both on the client and server side. See this topic to learn more: Applying Themes. You can customize the extension appearance using predefined built-in visual themes. It is possible to assign your own images to be displayed for different check box states. Set the CheckBoxSettings.Native property value to true to enable native rendering.Ī check box edit region (check mark) is represented by an image within the CheckBox editor by default. This reduces the render size and improves the editor’s overall performance. When the native HTML mode is enabled, an extension appearance depends on how a client browser renders native HTML elements. The CheckBox supports native rendering as a native HTML input element of the checkbox type.

AllowGrayed ( CheckBoxProperties.AllowGrayed) property. Additionally, you can enable the third grayed (indeterminate) state using the CheckBoxSettings.Properties. The CheckBox offers the following features.Ī check box can be set to either the checked or unchecked check state by default. A check state can be switched by clicking the editor with the mouse or by pressing the SPACE key when the editor has focus. The CheckBox extension is a check editor that allows end-users to select yes/no or true/false conditions. The code result is demonstrated in the image below. The Partial View should contain only the extension’s code.
