Hello
I'm using Infragistics4.Win.v13.2 (v4.0.30319)
I have tried to set the MaskInput to yyyy (four-digit year) in the UltraDateTimeEditor, but it does not seem to work.
I want a control that displays format yyyy for the year, and shows a popup form with year list only when clicked.
Currently it seems that only date selection is available, not year.
Is there any way to set up year only on UltraDateTimeEditor? Thank in advance for quick answer.
Thank you for answers.
Hi Lee,
Thank you for posting in our forums!
The input mask of UltraDateTimeEditor can’t be restricted to just “yyyy” and it supports the following input masks: http://help.infragistics.com/Help/Doc/WinForms/2012.2/CLR4.0/html/Infragistics4.Win.UltraWinMaskedEdit.v12.2~Infragistics.Win.UltraWinMaskedEdit.UltraMaskedEdit~InputMask.html
In order to see this mask input format implemented in our future versions, you can suggest a new product idea on the following user voice page: http://ideas.infragistics.com/forums/192359-windows-forms
The Product Idea site puts you in the driver’s seat and allows you to track the progress of your ideas at any time, see how many votes it got, read comments from other developers in the community, and see if someone from the product team has additional questions for you.
Since UltraDateTimeEditor is more complex and advanced control than just a year picker, you can use alternatively Microsoft’s DateTimePicker control instead. Please take a look at the attached sample application on the bottom of my post and let me know if it matches your requirements.