Hi All,
For one of my pages i want to display only year and allow user should select only year.. is it possible i tried displaying month and year. but our client asks for only year. Is it possible to display only year.. kindly let me know.
Thanks in advance,
Godwin Jebakumar
Hello Godwin Jebakumar,
Thank you for posting in our forum.
I don’t think this is supported out of the box. The DatePicker is meant to display a calendar with days, moths and years.
You could set for the WebDatePicker the EditModeFormat="yyyy" and DisplayModeFormat="yyyy" so that when you select a date then only the year part would be set in the input element. However even if you hide the days you still won’t be able to hide the months.
I hope this was helpful. Let me know if there’s anything else I can help you with.
Best Regards,
Maya Kirova
Developer Support Engineer
Infragistics, Inc.
http://es.infragistics.com/support
Hi Maya Kirova,
Thanks for your timely help. It worked fine.
Regards,