Visual Basic (Declaration) | |
---|---|
<DefaultValueAttribute()> <DescriptionAttribute("Automatically postback (or callback) to the server after selection has changed.")> <CategoryAttribute("Behavior")> Public Overrides Property AutoPostBack As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As LiveListBox Dim value As Boolean instance.AutoPostBack = value value = instance.AutoPostBack |
C# | |
---|---|
[DefaultValueAttribute()] [DescriptionAttribute("Automatically postback (or callback) to the server after selection has changed.")] [CategoryAttribute("Behavior")] public override bool AutoPostBack {get; set;} |
C++/CLI | |
---|---|
[DefaultValueAttribute()] [DescriptionAttribute("Automatically postback (or callback) to the server after selection has changed.")] [CategoryAttribute("Behavior")] public: property bool AutoPostBack { bool get() override; void set ( bool value) override; } |
Property Value
true whenever the user changes the text in the text box and then tabs out of the control; otherwise, false. The default is true, which is different than the non-Live TextBox.For Live List Controls, set this property to true if the server needs to capture the change 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 the 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 the list.
For LiveCheckBox and LiveRadioButton, use this property to specify whether the state of the PowerWEB control is posted back to the server when clicked.
Note When AutoPostBack is true and EnableCallback is true, the PowerWEB control will perform automatic callbacks. If EnableCallback is false, traditional postbacks will occur.
Target Platforms: Microsoft .NET Framework 2.0