Visual Basic (Declaration) | |
---|---|
<DescriptionAttribute("Automatically postback (or callback) to the server after selection has changed.")> <CategoryAttribute("Behavior")> <DefaultValueAttribute()> Public Overrides Property AutoPostBack As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As LiveRadioButtonList Dim value As Boolean instance.AutoPostBack = value value = instance.AutoPostBack |
C# | |
---|---|
[DescriptionAttribute("Automatically postback (or callback) to the server after selection has changed.")] [CategoryAttribute("Behavior")] [DefaultValueAttribute()] public override bool AutoPostBack {get; set;} |
C++/CLI | |
---|---|
[DescriptionAttribute("Automatically postback (or callback) to the server after selection has changed.")] [CategoryAttribute("Behavior")] [DefaultValueAttribute()] 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