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

Localizing the Command Item

The default messages, button text and images in the CommandItem can be localized using the following properties in GridTableView.CommandItemSettings object:

 

Text localization
AddNewRecordText The text for the Add new record button.
RefreshText The text for the Refresh button.
ExportToExcelText The text for the Export to Excel button.
ExportToPdfText The text for the Export to PDF button.
ExportToCsvText The text for the Export to CSV button.
ExportToWordText The text for the Export to Word button.

 

Image localization
AddNewRecordImageUrl The URL for the Add new record button image.
RefreshImageUrl The URL for the Refresh button image.
ExportToExcelImageUrl The URL for the Export to Excel button image.
ExportToPdfImageUrl The URL for the Export to PDF button image.
ExportToCsvImageUrl The URL for the Export to CSV button image.
ExportToWordImageUrl The URL for the Export to Word button image.

 

AddNewRecord/RefreshButtons IDs
AddNewRecord button ID InitInsertButton
RefreshButton ID RebindGridButton
Export to Excel button ID ExportToExcelButton
Export to PDF button ID ExportToPdfButton
Export to CSV button ID ExportToCsvButton
Export to Word button ID ExportToWordButton
In this article