Share via


DateTimeControl.AutoPostBack Property

Gets or sets a value that indicates whether the control posts back to the server each time a user interacts with the control.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property AutoPostBack As Boolean
    Get
    Set
'Usage
Dim instance As DateTimeControl
Dim value As Boolean

value = instance.AutoPostBack

instance.AutoPostBack = value
public bool AutoPostBack { get; set; }

Property Value

Type: System.Boolean
true if the control posts back to the server each time a user interacts with the control; otherwise, false. The default is false.

See Also

Reference

DateTimeControl Class

DateTimeControl Members

Microsoft.SharePoint.WebControls Namespace