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

datepicker to show MMMM YYYY for a MM/YYYY input

3 Answers 28 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Arun Selvarangam
Top achievements
Rank 2
Arun Selvarangam asked on 04 Aug 2010, 03:00 PM
Hi I am using datepicker in my page to show the Month/year (for eg. August 2010). I formated the output, but when I input as 01/2010
im not getting January 2010, instead August 2010 (current month). How to do this in rad datepicker control? any help would be greately appreciated.

Input                  Output
01/2010             January 2010
Jan 2010           January 2010
1/1/2010            January 2010

Thanks,
Arun.K.S

3 Answers, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 09 Aug 2010, 07:38 AM
Hello Arun Selvarangam,

I would suggest that you review the following code library project:

How to use RadDatePicker with a "MM/yyyy" formatted DateInput

I hope this helps.

Kind regards,
Martin
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
0
Arun Selvarangam
Top achievements
Rank 2
answered on 09 Aug 2010, 10:43 AM
hi Martin,

This solution is not working the way I wanted.

When I input 05/2010 i want the output only as May 2010 or May, 2010 or May-2010.  
as per your example I am getting 08/2010 or 08, 2010 or 08-2010 or 08 2010. 

 Please let me know if this can be done.

Thanks,
Arun.J.S
0
Martin
Telerik team
answered on 12 Aug 2010, 09:45 AM
Hello Arun Selvarangam,

I have updated the Code Library project from my previous post and not it demonstrates how to apply different parsing and display date formats. Please give it a try and let me know if it works for your scenario.

Regards,
Martin
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
General Discussions
Asked by
Arun Selvarangam
Top achievements
Rank 2
Answers by
Martin
Telerik team
Arun Selvarangam
Top achievements
Rank 2
Share this question
or