TEXT Attribute | Text Property

Sets or retrieves a value that indicates the text or caption of the object.


ASP <tagPrefix:TOOLBARTEXTBOX TEXT = sText ... >
Script [ sText = ] TOOLBARTEXTBOX.Text

Possible Values

tagPrefix Required. The element prefix associated with the WebControls namespace (Microsoft.Web.UI.WebControls). A TagPrefix is defined using the directive.
sText System.String that specifies or receives the text or caption of the object.

The property is read/write. The property has no default value.


The value of this property overrides any text between the opening and closing element tags.

The MAXLENGTH attribute for the TOOLBARTEXTBOX sets the maximum number of characters that can be entered by the user.

Applies To


See Also

Internet Explorer WebControls, About the Toolbar WebControl