Date and hour Format in RadDatePicker


/ Published in: ASP
Save to your folder(s)

Como añadir el formator para dd/mm/yyyy + hora


Copy this code and paste it in your HTML
  1. <telerik:RadDatePicker ID="RadDatePickerFecha" runat="server" Culture="Spanish (Spain)"
  2. DbSelectedDate='<%# Bind("Fecha")%>' DateInput-DateFormat="MM/dd/yyyy hh:mm tt">
  3. <Calendar runat="server" UseColumnHeadersAsSelectors="False" UseRowHeadersAsSelectors="False" ViewSelectorText="x">
  4. <SpecialDays>
  5. <telerik:RadCalendarDay Repeatable="Today" ItemStyle-CssClass="rcToday" />
  6. </SpecialDays>
  7. </Calendar>
  8. <DatePopupButton HoverImageUrl="" ImageUrl="" />
  9. </telerik:RadDatePicker>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.