TOOLBARTEXTBOX Element | ToolbarTextBox Class
Adds a ToolbarTextBox element to a ASP.NET Web Form.
Syntax
ASP <tagPrefix:TOOLBARTEXTBOX ... >
Possible Values
tagPrefix Required. The element prefix associated with the WebControls namespace (Microsoft.Web.UI.WebControls). A TagPrefix is defined using the directive.
Remarks
To enable users to enter a maximum number of characters, set the MAXLENGTH attribute on the TOOLBARTEXTBOX.
This element is a block element.
This element requires a closing tag.
Members Table
The following table lists the members exposed by the ToolbarTextBox object.
Attributes/Properties
Attribute Property Description AccessKey Sets or retrieves the keyboard shortcut key (AccessKey) for setting focus to the item. AUTOPOSTBACK AutoPostBack Sets or retrieves a value that indicates whether the control posts back to the server each time a user interacts with the control. BackColor Sets or retrieves a value that indicates the background color of the Web control. BorderColor Sets or retrieves a value that indicates the border color of the Web control. BorderStyle Sets or retrieves a value that indicates the border style of the Web control. BorderWidth Sets or retrieves a value that indicates the border width of the Web control. Columns Sets or retrieves a value that indicates the number of columns for the Web Control. ControlStyle Retrieves a value that indicates the style of the control. CssClass Sets or retrieves a value that indicates the CssClass. DEFAULTSTYLE DefaultStyle Sets or retrieves a value that indicates the default style for the element. Enabled Sets or retrieves a value that indicates whether the item is enabled. Font Retrieves the Font information. ForeColor Sets or retrieves the foreground color of the Web control. Height Sets or retrieves a value that indicates the height of the control. ID ID Sets or retrieves a value that indicates the string that identifies the object. Index Retrieves the index of the toolbar item within the parent. MAXLENGTH MaxLength Sets or retrieves a value that indicates the maximum number of characters that the user can enter. Parent Retrieves the parent object of a node. ParentToolbar The Toolbar control that contains this item. READONLY ReadOnly Sets or retrieves a value that indicates the read-only status of the text box. Style Sets or retrieves a collection of text attributes that render as a style attribute on the outer tag. TabIndex Sets or retrieves a value that indicates the tab index of the item. TEXT Text Sets or retrieves a value that indicates the text or caption of the object. TEXTMODE TextMode Sets or retrieves a value that indicates the type of text entered by the user. ToolTip Sets or retrieves the ToolTip that displays when the cursor hovers over the control. Width Sets or retrieves a value that indicates the width of the WebControls. Events
Event Description ontextchanged Fires when the Text changes. Methods
Class Information
Namespace Microsoft.Web.UI.WebControls
Applies To
TOOLBAR
See Also
Show: