Date format

2 posts, 0 answers
  1. Dwight
    Dwight avatar
    12 posts
    Member since:
    Jul 2009

    Posted 29 Sep 2009 Link to this post


    I wonder if anyone can shed any light on this query that I am having with the Calendar control.

    When I click on the drop down and select a date (eg 08/08/2009), I would like to prefix the date with the day of week (eg Sat 08/08/2009) in the text box of the control. Does anyone know if this is feasible as I am having no luck which trying to do this.

    Thanks, Dwight
  2. Kaloyan
    Kaloyan avatar
    920 posts

    Posted 02 Oct 2009 Link to this post

    Hello Dwight,

    There is no property you can use in the current version of the RadDatePicker. But using a small trick can help you. Try adding a small TextBlock near to the RadDatePicker and bind it's text to the SelectedDate property of the RadDatePicker using a converter. You can separate this functionality in a UserControl so you can use it in more then one place. Let us know if you need some additional explanation.

    All the best,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft R3 2016 release webinar banner
Back to Top