PowerWEB LiveControls for ASP.NET
AutoPostBack Property
See Also  Send comments on this topic.
Dart.LiveControls Namespace > LiveCheckBox Class : AutoPostBack Property



Gets or sets a value indicating whether a postback (or callback) to the server automatically occurs when the user changes the PowerWEB control's list selection or checked state.

Syntax

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 LiveCheckBox
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.

Remarks

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.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 4.0.2
© 2012 Dart Communications. All Rights Reserved.