This is a migrated thread and some comments may be shown as answers.
Localization on RadGrid: Paging Option All
1 Answer 5 Views
This is a migrated thread and some comments may be shown as answers.
Christian
Top achievements
Rank 1
Christian asked on 01 Nov 2018, 07:33 AM

Hello

I don't find an option to translate the Text "All" (added with the EnableAllOptionInPagerComboBox property). Can someone name me the key for it or can't we translate it at all?

 

christian

1 Answer, 1 is accepted

Sort by
0
Accepted
Rumen
Telerik team
answered on 02 Nov 2018, 08:26 AM
Hello Christian,

Although this setting is not present in the globalization resx file, you can localize the All text in the ComboBox using the following approach:


protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e)
{
    if (e.Item is GridPagerItem)
    {
        RadComboBox combo = e.Item.FindControl("PageSizeComboBox") as RadComboBox;
        combo.Items.Last().Text = "New Localization String";
    }
}
 

Regards,
Rumen
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Grid
Asked by
Christian
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or