What are the properties of the textbox control?

青灯夜游
Release: 2023-01-04 09:38:13
Original
13560 people have browsed it

The textbox control properties include: AutoCompleteType, AutoPostBack, CausesValidation, Columns, MaxLength, ReadOnly, Rows, runat, TagKey, Text, TextMode, etc.

What are the properties of the textbox control?

The operating environment of this article: windows7 system, Dell G3 computer, ASP3.0.

ASP.NET TextBox Control

The TextBox control is used to create a text box into which the user can enter text.

Properties:

##Text Contents of textbox. 1.0 TextMode Specifies the behavior mode of TextBox (single line, multiple lines or password). 1.0 ValidationGroup The control group to be validated when Postback occurs. Wrap Boolean value indicating whether the content of the textbox is wrapped. 1.0 OnTextChanged The name of the function that is executed when the text in the textbox is changed.
Properties Description .NET
AutoCompleteType Specifies the AutoComplete behavior of the TextBox control. 2.0
AutoPostBack Boolean value, specifies whether the control will automatically post back to the server when the content changes. The default is false. 1.0
CausesValidation Specifies whether to validate the page when Postback occurs. 2.0
Columns The width of the textbox. 1.0
MaxLength The maximum number of characters allowed in the textbox. 1.0
ReadOnly Specifies whether the text in the text box can be changed. 1.0
Rows The height of the textbox (only used when TextMode="Multiline"). 1.0
runat Specifies whether the control is a server control. Must be set to "server".
TagKey



To read more related articles, please visit

PHP中文网! !

The above is the detailed content of What are the properties of the textbox control?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!