This is a migrated thread and some comments may be shown as answers.

How change word 'Today' in Title and Navigation Popup Zone

1 Answer 54 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Grzegorz
Top achievements
Rank 1
Grzegorz asked on 06 Jul 2018, 11:36 AM

Hello,

I use RadDateTimePicker in GridDateTimeColumn. I want to change word 'Today' on other word in my language.

<telerik:RadGrid ID="IdGrid" runat="server" AutoGenerateColumns="False" OnNeedDataSource="NeedDataSourceGrid" OnItemDataBound="ItemDataBoundGrid" Page_PreRender="PreRenderGrid" OnItemCommand="ItemCommandGrid" AllowMultiRowSelection="false"  RenderMode="Lightweight" AllowSorting="True" AllowPaging="True">
<GroupingSettings CaseSensitive="false" /><MasterTableView TableLayout="Fixed" DataKeyNames="InvoiceId" AllowFilteringByColumn="true" CommandItemDisplay="Top" AllowNaturalSort="false">

<Columns>

 

<telerik:GridDateTimeColumn HeaderText="name" UniqueName="NameDateExport" DataField="DateExport" EnableTimeIndependentFiltering="true">  <FilterTemplate>

<telerik:RadDateTimePicker RenderMode="Lightweight" ID="IdDateExport" runat="server"  UniqueName="UnDateExport"  OnSelectedDateChanged="SelectionChanged" OnPreRender="DePreRender"></telerik:RadDateTimePicker>

 

thank you, in advance for help

1 Answer, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 11 Jul 2018, 08:27 AM
Hi Grzegorz,

You can localize the "Today" string through the FasNavigationSettings of the Calendar in RadDateTimePicker.
RadDatePicker1.Calendar.FastNavigationSettings.TodayButtonCaption = "Custom Today String";

In a GridDateTimeColumn scenario, this can be done in the control's ItemDataBound event like demonstrated in the following forum thread:
https://www.telerik.com/forums/localization-of-raddatetimepicker#2gMCLfYSkU2Evg9BDsKobA

Regards,
Vessy
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Calendar
Asked by
Grzegorz
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Share this question
or