Datepicker ignoring StringFormat

2 posts, 1 answers
  1. Mark
    Mark avatar
    155 posts
    Member since:
    Oct 2010

    Posted 14 Apr 2011 Link to this post

    I have a datepicker

    <telerik:RadDatePicker DateSelectionMode="Month" SelectedValue="{Binding Mode=TwoWay, Path=tenderDateStart, StringFormat=\{0:MMMM\, yyyy\}}"/>

    which should be formatting the text in the provided manner (MMMM\, yyyy) = Month, Year

    however the date still results in mm/dd/yy.
  2. Answer
    Dani avatar
    848 posts

    Posted 15 Apr 2011 Link to this post

    Hi Mark,

    Please, check this article related to DatePicker/DateTimePicker Formatting. You can use the DateTimeFormatInfo class to set custom formatting for the date value.

    I hope this helps.

    All the best,
    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
Back to Top