Hi
I have a requirement where i need to select only the year from a xamdatetimeeditor.
I searched through previous posts and saw that there were already a few discussions going on in the forum.
http://community.infragistics.com/forums/p/39233/223212.aspx
Please suggest as to how to acheive the same.
Thanks
Kaustav
Hello Kaustav,
Thank you for your post. I have been looking into it and I created a sample project for you with the functionality you want. Also I can say that the selected Date cannot be only year, so I had to set the month and day to 1 so the editor can accept the date, but you will see only the year.
Hope this helps you.
Hi Stefan
I tried implementing the sample you had attached... looks really great... but I had a couple of issues :
1. When focussed on the date field... it shows 1/1/2012 (for example)..means on focussing the field I see the date and month components as well...
2. My date field is in a xamdatagrid and used as an unboundfield. So basically I have created a style based on the xamdatetimeeditor... Hence i wont be able to access the control name and use the EndEditMode method..
Please suggest.
Thanks.