ButtonFieldBase.ButtonType Property
.NET Framework 3.0
Gets or sets the button type to display in the button field.
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
public: virtual property ButtonType ButtonType { ButtonType get (); void set (ButtonType value); }
/** @property */ public ButtonType get_ButtonType () /** @property */ public void set_ButtonType (ButtonType value)
public function get ButtonType () : ButtonType public function set ButtonType (value : ButtonType)
Not applicable.
Property Value
One of the ButtonType values. The default is ButtonType.Link.The following code example demonstrates how to use the ButtonType property to specify that buttons are displayed in the ButtonField object of a GridView control.
Community Additions
ADD
Show: