C# Class Rock.Web.UI.Controls.DeleteField

Inheritance: RockTemplateField, INotRowSelectedField
Show file Open project: SparkDevNetwork/Rock Class Usage Examples

Public Methods

Method Description
DeleteField ( ) : System

Initializes a new instance of the DeleteField class.

Initialize ( bool sortingEnabled, Control control ) : bool

Performs basic instance initialization for a data control field.

OnClick ( RowEventArgs e ) : void

Raises the E:Click event.

Protected Methods

Method Description
deleteFieldTemplate_LinkButtonClick ( object sender, RowEventArgs e ) : void

Handles the LinkButtonClick event of the deleteFieldTemplate control.

Method Details

DeleteField() public method

Initializes a new instance of the DeleteField class.
public DeleteField ( ) : System
return System

Initialize() public method

Performs basic instance initialization for a data control field.
public Initialize ( bool sortingEnabled, Control control ) : bool
sortingEnabled bool A value that indicates whether the control supports the sorting of columns of data.
control System.Web.UI.Control The data control that owns the .
return bool

OnClick() public method

Raises the E:Click event.
public OnClick ( RowEventArgs e ) : void
e RowEventArgs The instance containing the event data.
return void

deleteFieldTemplate_LinkButtonClick() protected method

Handles the LinkButtonClick event of the deleteFieldTemplate control.
protected deleteFieldTemplate_LinkButtonClick ( object sender, RowEventArgs e ) : void
sender object The source of the event.
e RowEventArgs The instance containing the event data.
return void