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

DBSelectedDate date format

1 Answer 69 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
L
Top achievements
Rank 1
L asked on 02 Jul 2010, 10:21 AM
hi

how do i format the date?

I tried with this code but gaveeme an error: Thanks

 <telerik:RadDatePicker ID="dtDate" Runat="server"
                      Culture="English (United States)" DbSelectedDate='<%# Bind("SchedDate"),"{0:dd/MM/yyyy}") %>'>
<Calendar UseRowHeadersAsSelectors="False"  UseColumnHeadersAsSelectors="False" ViewSelectorText="x"></Calendar>
<DatePopupButton ImageUrl="" HoverImageUrl=""></DatePopupButton>
                </telerik:RadDatePicker>

1 Answer, 1 is accepted

Sort by
0
Accepted
Tsvetoslav
Telerik team
answered on 02 Jul 2010, 12:54 PM
Hello Lui,

Try setting the DateFormat or DisplayDateFormat property of the RadDatePicker's DateInput object.

Greetings,
Tsvetoslav
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Calendar
Asked by
L
Top achievements
Rank 1
Answers by
Tsvetoslav
Telerik team
Share this question
or