Hello all, first I am sorry if that question has already been asked and answered. If this is the case I would be grateful if someone can point me to the answer. Due to my work slow connection it take more then 2 minutes to get a page loaded and searching through is not an option at the moment.
Here is my problem, I have two radDateTimePicker, one for Starting Date and one for Ending Date. I have set the DateInput format as follow.
The culture of the two calendars is set from the codebehind, since the application I'm supporting, support two language.
When I retrieve the values from the database, the date input format is displayed correctly. When I click on the Calendar image to get the Calendar popup, I mouse over the dates and the tooltip is fine to. The problem arise when I click on a date, if the day I select is smaller then 12 it switch the format to default. i.e. selecting first of june will display "06/01/2009 12:00 AM" instead of "01/06/2009 12:00 AM" if I pick 21st of june it will display "21/06/2009 12:00 AM" which is the correct format.
Thank you in advance.
Here is my problem, I have two radDateTimePicker, one for Starting Date and one for Ending Date. I have set the DateInput format as follow.
<telerik:RadDateTimePicker ID="rdtp_StartingDate" runat="server"> |
<DateInput DateFormat="dd/MM/yyyy hh:mm tt" DisplayDateFormat="dd/MM/yyyy hh:mm tt" runat="server"></DateInput> |
<Calendar DayCellToolTipFormat="dd/MM/yyyy" runat="server"></Calendar> |
</telerik:RadDateTimePicker> |
The culture of the two calendars is set from the codebehind, since the application I'm supporting, support two language.
When I retrieve the values from the database, the date input format is displayed correctly. When I click on the Calendar image to get the Calendar popup, I mouse over the dates and the tooltip is fine to. The problem arise when I click on a date, if the day I select is smaller then 12 it switch the format to default. i.e. selecting first of june will display "06/01/2009 12:00 AM" instead of "01/06/2009 12:00 AM" if I pick 21st of june it will display "21/06/2009 12:00 AM" which is the correct format.
Thank you in advance.