System.Web.UI.WebControls.ButtonField Members

The members of System.Web.UI.WebControls.ButtonField are listed below.

See Also: Inherited members from System.Web.UI.WebControls.ButtonFieldBase

Public Constructors

Initializes a new instance of the System.Web.UI.WebControls.ButtonField class.

Public Properties

CommandNamestring.

Gets or sets a string that represents the action to perform when a button in a System.Web.UI.WebControls.ButtonField object is clicked.

DataTextFieldstring.

Gets or sets the name of the data field for which the value is bound to the Button.Text property of the System.Web.UI.WebControls.Button control that is rendered by the System.Web.UI.WebControls.ButtonField object.

DataTextFormatStringstring.

Gets or sets the string that specifies the display format for the value of the field.

ImageUrlstring.

Gets or sets the image to display for each button in the System.Web.UI.WebControls.ButtonField object.

Textstring.

Gets or sets the static caption that is displayed for each button in the System.Web.UI.WebControls.ButtonField object.

Public Methods

override
Initialize(bool, System.Web.UI.Control) : bool

Initializes the current System.Web.UI.WebControls.ButtonField object.

override
InitializeCell(DataControlFieldCell, DataControlCellType, DataControlRowState, int)

Initializes the specified System.Web.UI.WebControls.DataControlFieldCell object to the specified row state.

override
ValidateSupportsCallback()

Determines whether the controls that are contained in a System.Web.UI.WebControls.ButtonField object support callbacks.

Protected Methods

override
CopyProperties(DataControlField)

Copies the properties of the current System.Web.UI.WebControls.ButtonField object to the specified System.Web.UI.WebControls.DataControlField object.

override
CreateField() : DataControlField

Creates and returns a new instance of the System.Web.UI.WebControls.ButtonField class.

FormatDataTextValue(object) : string

Formats the specified field value for a cell in the System.Web.UI.WebControls.ButtonField object.