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

ASP.NET AutoPostBack Property

ASP.NET AutoPostBack Property


ListControl Control Reference Manual ListControl control reference manual


Definition and Usage

The AutoPostBack property is used to set or return whether an automatic postback to the server occurs when the user selects an item in a list control.

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

Syntax

SomeListControl

AutoPostBack="TRUE|FALSE" runat="server"

/>


Example

The following example sets the AutoPostBack property of a RadioButtonList control to "TRUE":

runat="server" OnSelectedIndexChanged="Change">

  

  

Demo Example »


ListControl Control Reference Manual ListControl control reference manual