Gets or sets a value that indicates whether an automatic postback to the server occurs when the user clicks the menu item.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Overridable Property AutoPostBack As Boolean |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As MenuItem
Dim value As Boolean
instance.AutoPostBack = value
value = instance.AutoPostBack |
| C# | |
|---|
public virtual bool AutoPostBack {get; set;} |
Property Value
true if an automatic postback occurs when the user clicks the menu item; otherwise,
false. The default is
true.
Requirements
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6
See Also