Display MMMM/yyyy date format

2 posts, 0 answers
  1. Cheng Lim Sek
    Cheng Lim Sek avatar
    33 posts
    Member since:
    Oct 2009

    Posted 19 Oct 2011 Link to this post

    Hi Telerik team,

    Might I know is telerik datepicker is support to display selecteddate in MMMM/yyyy format?
    I had try to set this MMMM/yyyy format by using ShortDatePattern. When I select the date from calendar the date is display correctly. (e.g. October/2011). However, when i cursor out from the Date Text Field the whole silverlight page is become as blank.
     
    CultureInfo cultureInfo = new CultureInfo("en-US");
    DateTimeFormatInfo dateInfo = new DateTimeFormatInfo();
    dateInfo.ShortDatePattern = "MMMM/yyyy";
    cultureInfo.DateTimeFormat = dateInfo;
      
    this.radDatePicker.Culture = cultureInfo;

    Please kindly advice to me.

    Thank You,

    Best Regards,
    Cheng Lim
  2. Georgi
    Admin
    Georgi avatar
    350 posts

    Posted 21 Oct 2011 Link to this post

    Hello,

    I wasn't able to reproduce the problem. I am sending you my project. Could you please edit it and send it back to us? 

    Also I think it would be useful If you can send us the error you are getting. The easiest way to do this is to have Firebug (add-on for Firefox) turn on when the problem occur. I am sending you a simple video on how to capture errors using Firebug. You can open the video with any web browser.

    Please, don't hesitate to contact us if you have other questions.

    Kind regards,
    Georgi
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft banner
Back to Top