GridCommandItem
Item that is displayed on top or at the bottom of the each GridTableView base on the settings of CommandItemDisplay property. Generally this item displays by default "Add new record" and "Refresh" button, but it can be customized using the CommandItemTemplate. The commands bubbled through this item will be fired by RadGrid.ItemCommand event.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
public class GridCommandItem : GridItem, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, INamingContainer
Inheritance: objectControlWebControlTableRowGridTableRowGridItemGridCommandItem...
Implements:
Inherited Members
Properties
Gets or sets the caption for the table command item.
public virtual string Caption { get; set; }
The default value is "Data pager".
Setting this property to empty string will force the pager to not render caption tag.
Gets or sets the summary attribute for the table command item.
public virtual string Summary { get; set; }
The default value is "Command item for additional functionalities for the grid like adding a new record and exporting.".
Setting this property to empty string will force the pager to not render summary attribute.
Methods
protected virtual void InitializeCommandItem()
protected virtual void InitializeDesktopDefault(TableCell contentCell)
protected virtual void InitializeLightweightDefault(TableCell contentCell)
protected virtual void InitializeMobileDefault(TableCell contentCell)