A special type of GridButtonColumn, including a delete buttons in each row. It provides the functionality of erasing records client-side, without making a round trip to the server.
This optimizes the performance and the source data is automatically refreshed on the subsequent post to the server. The user experience is improved because the delete action is done client-side and the table presentation is updated immediately.
Its ConfirmText property can be assigned like with the default GridButtonColumn showing a dialog which allows the user to cancel the action.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
public class GridClientDeleteColumn : GridButtonColumn, IStateManager, IComparable
Inheritance: objectGridColumnGridButtonColumnGridClientDeleteColumn
Implements:
Inherited Members
Example:
<radG:GridClientDeleteColumn ConfirmText="Are you sure you want to delete the selected row?" HeaderStyle-Width="35px" ButtonType="ImageButton" ImageUrl="~/RadControls/Grid/Skins/WebBlue/Delete.gif" />
Constructors
[SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public GridClientDeleteColumn()
Properties
Gets or sets a value indicating the URL for the image that will be used in a Image button. ButtonType should be set to ImageButton.
public override string ImageUrl { get; set; }
Overrides:
Gets the value determining if the column is selectable.
public override bool Selectable { get; }
The value determining if the column is selectable.
Overrides:
Methods
Creates a copy of the current column.
public override GridColumn Clone()
Overrides:
Note: When implementing/overriding this method be sure to call the base member or call CopyBaseProperties to be sure that all base properties will be copied accordingly
protected override void CopyBaseProperties(GridColumn FromColumn)
Overrides: