Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

ASP.NET TextBox AutoPostBack Property

ASP.NET TextBox AutoPostBack Property


TextBox control TextBox Control


Definition and Usage

The AutoPostBack property is used to set or return whether an automatic postback to the server occurs when the user presses the "ENTER" or "TAB" key in the TextBox control.

If this property is set to TRUE, automatic postback is enabled; otherwise it is FALSE. The default is FALSE.

Syntax

/>


Example

The following example sets the AutoPostBack property to "TRUE":

Demo Example »


TextBox control TextBox Control