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

RadDateTimePicker bug

1 Answer 54 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Dmitry Shapiro
Top achievements
Rank 1
Dmitry Shapiro asked on 09 Dec 2008, 08:17 AM
Hi, I'm use latest vesion control.
When I click on the calendar and select 1 December, the day and month of the date in the control are swap, so when I click another time on the calendar, the date set is not December (Date set 12 January).

My Code:
<telerik:RadDateTimePicker ID="RadDateTimePickerRunning" Width="280px" TimeView-Caption="Время"  
TimeView-Culture="Russian (Russia)" TimeView-Width="210px" 
TimeView-TimeFormat="H:mm" Calendar-CultureInfo="Russian (Russia)" 
runat="server" skin="WebBlue"
<DateInput Width="210px" 
    DateFormat="dd MM yyyy H:mm" 
    DisplayDateFormat="dd MM yyyy H:mm"  > 
    </DateInput> 
    <Calendar CultureInfo="Russian (Russia)" 
         CellDayFormat="[ %d ]" 
     DayCellToolTipFormat="d MMM, yyyy"
    
    </Calendar> 
<TimeView ID="TimeView1" runat="server"
<HeaderTemplate> 
Время 
</HeaderTemplate> 
</TimeView> 
</telerik:RadDateTimePicker> 

1 Answer, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 09 Dec 2008, 08:34 AM
Hi Dmitry,

Instead of setting cultures for the calendar and time view, just set it once for the RadDateTimePicker control:

<telerik:RadDateTimePicker
    ID="RadDateTimePickerRunning"
    runat="server"
    Culture="Russian (Russia)"  />


Greetings,
Dimo
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Calendar
Asked by
Dmitry Shapiro
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or