Initially only the [Edit] button is shown. When it is pressed, the [Update] and [Cancel] appear at its place and the cells on this row become editable.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
public class GridEditCommandColumn : GridColumn, IStateManager, IComparable
Inheritance: objectGridColumnGridEditCommandColumn
Implements:
Inherited Members
Example:
<radg:GridEditCommandColumn ButtonType="ImageButton" UpdateImageUrl="..\Img\Update.gif"
EditImageUrl="..\Img\Edit.gif" InsertImageUrl="..\Img\Insert.gif"
CancelImageUrl="..\Img\Cancel.gif" UniqueName="EditCommandColumn">
</radg:GridEditCommandColumn>
Constructors
public GridEditCommandColumn()
Properties
Gets or sets a value indicating what type of buttons will be used in the GridEditCommandColumn items.
public virtual GridButtonColumnType ButtonType { get; set; }
A string, representing the url path to the image that will be used instead of the default cancel linkbutton, in the EditForm.
public virtual string CancelImageUrl { get; set; }
A string, representing the url path to the image that will be used instead of the default cancel linkbutton, in the EditForm.
Gets or sets a string representing the text that will be used for the Cancel button, in the Edit/Insert form.
public virtual string CancelText { get; set; }
string, representing the text that will be used for the Cancel button.
Gets or sets the URL for the image that will be used to fire the Edit command. This property should be used in conjunction with ButtonType set to ImageButton.
public virtual string EditImageUrl { get; set; }
A string, representing the URL of the image that is used.
Gets or sets a string, representing the text of the edit linkbutton, which is located in the GridEditCommandColumn, and which will replace the default "Edit" text.
public virtual string EditText { get; set; }
string, representing the text that will be used for the Edit button.
Gets or sets the URL for the image that will be used to fire the Insert command. This property should be used in conjunction with ButtonType set to ImageButton.
public virtual string InsertImageUrl { get; set; }
string, representing the URL of the image that is used.
Gets or sets a string, representing a text, which will be displayed instead of the default "Insert" text for the GridEditFormInsertItem item.
public virtual string InsertText { get; set; }
A string, representing the text that will be used for the Insert button.
Gets the value determining if the column is selectable.
public override bool Selectable { get; }
The value determining if the column is selectable.
Overrides:
Gets or sets a unique name for this column. The unique name can be used to reference particular columns, or cells within grid rows.
[Browsable(true)]
public override string UniqueName { get; set; }
A string, representing the Unique name of the column.
Overrides:
Gets or sets the URL for the image that will be used to fire the Update command. This property should be used in conjunction with ButtonType set to ImageButton.
public virtual string UpdateImageUrl { get; set; }
string, representing the URL of the image that is used.
Gets or sets a string, representing the text that will be used for the Update button.
public virtual string UpdateText { get; set; }
A string, representing the text that will be used for the Update button.
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: