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

TimePicker customization

1 Answer 96 Views
Calendar, DateTimePicker, TimePicker and Clock
This is a migrated thread and some comments may be shown as answers.
Miguel
Top achievements
Rank 1
Miguel asked on 25 Nov 2012, 12:03 PM
Hi,

I'm having some trouble adjusting the TimePicker apearance to my requirements.

In terms of internationalization, the control doesn't seem to accept the changes I make to the displayed strings. For example, the code:

this.radTimePicker1.CloseButtonText = "Fechar";
this.radTimePicker1.TimePickerElement.HourHeaderText = "Horas";
this.radTimePicker1.TimePickerElement.MinutesHeaderText = "Minutos";

produces no visible effects (ie, the english strings are still shown).

Also, is it possible to adjust the tables in the popup so that it only displays a subset of hours (for example, working hours)?

Finally, is it possible do adjust the hours and minutes tables relative sizes? For example, setting that the hours table takes 70% of the available height and 30% for the minutes table?

Thanks,
Miguel

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 29 Nov 2012, 06:58 AM
Hello Miguel,

Thank you for writing.

Please, refer to this help article how to localize RadTimePicker to display control text and messages in a specific language.

I hope this helps.

Kind regards,
Peter
the Telerik team
Q3’12 of RadControls for WinForms is available for download (see what's new). Get it today.
Tags
Calendar, DateTimePicker, TimePicker and Clock
Asked by
Miguel
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or