New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Class holding all settings associated with the GridTableView GridCommandItem.

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
[TypeConverter(typeof(ExpandableObjectConverter))]
public class GridCommandItemSettings : ObjectWithState

Inheritance: objectObjectWithStateGridCommandItemSettings

Inherited Members object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Constructors

C#
public GridCommandItemSettings(StateBag ownerStateBag, GridTableView owner)
Parameters:ownerStateBagStateBagownerGridTableView

Properties

Gets or sets the Add New Record image URL.

C#
public virtual string AddNewRecordImageUrl { get; set; }
Property Value:

The Add New Record image URL.

Gets or sets text which will be used for the AddNewRecord Button. The default value is 'Add New Record'.

C#
public string AddNewRecordText { get; set; }
Property Value:

The text which will be used for the AddNewRecord Button. The default value is 'Add New Record'.

Gets or sets text which will be used for the CancelChanges Button. The default value is 'Cancel Changes'.

C#
public string CancelChangesText { get; set; }
Property Value:

The text which will be used for the CancelChanges Button. The default value is 'Cancel Changes'.

Gets or sets the Export To CSV image URL.

C#
public virtual string ExportToCsvImageUrl { get; set; }
Property Value:

The Export To CSV image URL.

Gets or sets the Export To CSV button text. Default value Export to CSV.

C#
public string ExportToCsvText { get; set; }
Property Value:

The Export To CSV button text. Default value Export to CSV.

Gets or sets the Export To Excel image URL.

C#
public virtual string ExportToExcelImageUrl { get; set; }
Property Value:

The Export To Excel image URL.

Gets or sets text which will be used for the ExportToExcel Button. The default value is 'Export To Excel'.

C#
public string ExportToExcelText { get; set; }
Property Value:

The text which will be used for the ExportToExcel Button. The default value is 'Export To Excel'.

Gets or sets the Export To Pdf image URL.

C#
public virtual string ExportToPdfImageUrl { get; set; }
Property Value:

The Export To Pdf image URL.

Gets or sets text which will be used for the ExportToPdf Button. The default value is 'Export To Pdf'.

C#
public string ExportToPdfText { get; set; }
Property Value:

The text which will be used for the ExportToPdf Button. The default value is 'Export To Pdf'.

Gets or sets the Export To Word image URL.

C#
public virtual string ExportToWordImageUrl { get; set; }
Property Value:

The Export To Word image URL.

Gets or sets text which will be used for the ExportToWord Button. The default value is 'Export To Word'.

C#
public string ExportToWordText { get; set; }
Property Value:

The text which will be used for the ExportToWord Button. The default value is 'Export To Word'.

C#
public string NextFrozenColumnText { get; set; }
C#
public string PrevFrozenColumnText { get; set; }

Gets or sets the Print Grid button text. Default value Print RadGrid.

C#
public string PrintGridText { get; set; }
Property Value:

The Print Grid button text. Default value Print RadGrid.

Gets or sets the Refresh image URL.

C#
public virtual string RefreshImageUrl { get; set; }
Property Value:

The Refresh image URL.

Gets or sets text which will be used for the Refresh Button. The default value is 'Refresh'.

C#
public string RefreshText { get; set; }
Property Value:

The text which will be used for the Refresh Button. The default value is 'Refrest'.

Gets or sets text which will be used for the SaveChanges Button. The default value is 'Save Changes'.

C#
public string SaveChangesText { get; set; }
Property Value:

The text which will be used for the SaveChanges Button. The default value is 'Save Changes'.

Gets or sets a value indicating whether the default command item should expose the Add New Record button.

C#
public virtual bool ShowAddNewRecordButton { get; set; }
Property Value:

The value that indicates whether the default command item should expose the Add New Record button.

Gets or sets a value indicating whether the default command item should show the CancelChanges button.

C#
public virtual bool ShowCancelChangesButton { get; set; }
Property Value:

The value that indicates whether the default command item should show the CancelChanges button.

Gets or sets a value indicating whether the default command item should expose Export to CSV button.

C#
public virtual bool ShowExportToCsvButton { get; set; }
Property Value:

The value that indicates whether the default command item should expose Export to CSV button.

Gets or sets a value indicating whether the default command item should expose Export to Excel button.

C#
public virtual bool ShowExportToExcelButton { get; set; }
Property Value:

The value that indicates whether the default command item should expose Export to Excel button.

Gets or sets a value indicating whether the default command item should expose Export to PDF button.

C#
public virtual bool ShowExportToPdfButton { get; set; }
Property Value:

The value that indicates whether the default command item should expose Export to PDF button.

Gets or sets a value indicating whether the default command item should expose Export to Word button.

C#
public virtual bool ShowExportToWordButton { get; set; }
Property Value:

The value that indicates whether the default command item should expose Export to Word button.

Gets or sets a value indicating whether the default command item should expose a print button.

C#
public virtual bool ShowPrintButton { get; set; }
Property Value:

The value that indicates whether the default command item should expose a print button.

Gets or sets a value indicating whether the default command item should expose the Refresh button.

C#
public virtual bool ShowRefreshButton { get; set; }
Property Value:

The value that indicates whether the default command item should expose the Refresh button.

Gets or sets a value indicating whether the default command item should show the SaveChanges button.

C#
public virtual bool ShowSaveChangesButton { get; set; }
Property Value:

The value that indicates whether the default command item should show the SaveChanges button.

Methods

C#
protected virtual bool ShouldSerializeAddNewRecordImageUrl()
Returns:

bool

C#
protected virtual bool ShouldSerializeRefreshImageUrl()
Returns:

bool