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

Localizing RadDatePicker

5 Answers 244 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
tjans
Top achievements
Rank 1
tjans asked on 30 May 2008, 08:20 PM
We have a RadDatePicker control on a DNN module.   I'm logged in as a user with English as their locale, and all other Telerik controls on the module are localizing fine using meta:resourcekey="KeyName" (meaning they are picking up English text).  The DatePicker control for some reason is picking up Spanish text. There is no resourcekey set on this control. Here is the control declaration:

<

telerik:RadDatePicker ID="EndDatePicker" runat="server" MinDate="" Calendar-ShowRowHeaders="false">
</telerik:RadDatePicker>



So, I have two questions...

1.) Where are the localization files located for the RadDatePicker?  We haven't provided any localized text for this and haven't set the resourcekey attribute, yet it's still picking this up somewhere.

2.) What method SHOULD we be using to localize the RadDatePicker?

5 Answers, 1 is accepted

Sort by
0
Accepted
Steve
Telerik team
answered on 03 Jun 2008, 07:02 AM
Hi Travis,

Unfortunately it is not possible to localize the RadCalendar control through resx or xml files in the current version. There are several properties exposed, which allow you to customize the text for certain buttons  - screenshot is attached. The picker would pick up the culture that is being specified for the page or in the web.config. If you want to explicitly alter the way dates are being parsed, you can use the DateFormat and DisplayDateFormat properties.

Regards,
Steve
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
tjans
Top achievements
Rank 1
answered on 03 Jun 2008, 02:22 PM
We figured out the issue...thank you for your response...
0
-DJ-
Top achievements
Rank 1
answered on 01 Jul 2009, 06:19 PM
Hi guys,

This works:
<telerik:RadTimePicker TimeView-HeaderText="Tímaval"..... />

But this doesn't:
RadTimePicker1.TimeView.HeaderText = "Tímaval"

Why do you think that is?

Regards,
-DJ-
0
Pavlina
Telerik team
answered on 03 Jul 2009, 12:08 PM
Hello,

Attached to this message is a simple runnable application that demonstrates the needed approach. Please give it  a try and let me know if it works for you or if I am leaving something out.

I hope this helps.

Regards,
Pavlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
-DJ-
Top achievements
Rank 1
answered on 03 Jul 2009, 12:54 PM
Hi Pavlina

Thanks for your help.
My mistake was that I was only setting the headertext if a postback hadn't occurred.

Regards,
-DJ-
Tags
Calendar
Asked by
tjans
Top achievements
Rank 1
Answers by
Steve
Telerik team
tjans
Top achievements
Rank 1
-DJ-
Top achievements
Rank 1
Pavlina
Telerik team
Share this question
or