ListControl::AutoPostBack Property
Gets or sets a value indicating whether a postback to the server automatically occurs when the user changes the list selection.
Assembly: System.Web (in System.Web.dll)
[ThemeableAttribute(false)] public: virtual property bool AutoPostBack { bool get (); void set (bool value); }
<asp:ListControl AutoPostBack="True|False" />
Property Value
Type: System::Booleantrue if a postback to the server automatically occurs whenever the user changes the selection of the list; otherwise, false. The default is false.
Set this property to true if the server needs to capture the selection as soon as it is made. For example, other controls on the Web page can be automatically filled depending on the user's selection from a list control.
This property can be used to allow automatic population of other controls on the Web page based on a user's selection from a list.
The value of this property is stored in view state.
This property cannot be set by themes or style sheet themes. For more information, see ThemeableAttribute and ASP.NET Themes and Skins Overview.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.