Home >Backend Development >C#.Net Tutorial >What are the properties of the textbox control?

What are the properties of the textbox control?

青灯夜游
青灯夜游Original
2020-12-28 12:03:3713712browse

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:

##TextContents of textbox. 1.0TextModeSpecifies the behavior mode of TextBox (single line, multiple lines or password). 1.0ValidationGroupThe control group to be validated when Postback occurs. WrapBoolean value indicating whether the content of the textbox is wrapped. 1.0OnTextChangedThe 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!

Statement:
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