EditCommandColumn::ButtonType Property
.NET Framework (current version)
Gets or sets the button type for the column.
Assembly: System.Web (in System.Web.dll)
public: property ButtonColumnType ButtonType { virtual ButtonColumnType get(); virtual void set(ButtonColumnType value); }
Property Value
Type: System.Web.UI.WebControls::ButtonColumnTypeOne of the ButtonColumnType values. The default value is LinkButton.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The specified button type is not one of the ButtonColumnType values. |
Use the ButtonType property to specify whether the buttons in the column display as push buttons or hyperlinks.
The value of this property is stored in view state.
.NET Framework
Available since 1.1
Available since 1.1
Show: