BulletedList::AutoPostBack Property
.NET Framework (current version)
Gets or sets the value of the AutoPostBack property for the base class.
Assembly: System.Web (in System.Web.dll)
public: [BrowsableAttribute(false)] property bool AutoPostBack { virtual bool get() override; virtual void set(bool value) override; }
| Exception | Condition |
|---|---|
| NotSupportedException | An attempt was made to assign a value to the AutoPostBack. |
The AutoPostBack property is inherited from the ListControl class and is not applicable to the BulletedList control. Do not assign a value to the AutoPostBack property. If you do assign a value to the AutoPostBack, a NotSupportedException exception is thrown.
The following code example demonstrates that the value of the AutoPostBack property is always false for the BulletedList control and therefore is not applicable to this class.
.NET Framework
Available since 2.0
Available since 2.0
Show: