Hi,
I need an edit mask that allows the user to enter a month and year in the format of "mm yy". (effectively a 2 digit month with a leading zero and a 2 digit year)
I've tried the following:
<igEditors:XamMaskedEditor Name="xmeEdition" Mask="{}{number:01-12} {number:00-99}" Width="75" Margin="5" DisplayMode="IncludeBoth" AllowShiftingAcrossSections="False" />
but entering 01 10 (as in January, 2010) causes the leading zero to be ignored and the entered data slides left to become 11 _0. (see enclosed png).
How do I prevent this from happening? Are there better ways to do this?
Thanks!
Glenn Les
HI,
I could not reproduce using hte latest build of 12.2.2086.
I am attaching a sample.
Sincerely,
Matt
Developer Support Engineer
Thanks for the response Matt but your example breaks exactly as I had described. I entered 0112 and the ui shows 11_2 (screen shot attached). I need it to be exactly as entered "01 12".
Thanks,
Glenn
So I rebooted and that fixed the website problem (I would really like to know why that made a difference.)
I downloaded the service pack and it installed 12.2.20122.2089 of InfragisticsWPF4.Editors.v12.2 (see attached screenshot).
I then re-compiled your sample app, verified that it picked up that version, and relaunched the sample app. It still behaves the same way.
Forgot the screenshot.
I replicated your issue , it happens for 01 0 or 01 1 or 01 2 key combinations.
I am reviewing
Sincerely, Matt
i
Hi Matt,
Any progress to report??
I brought this issue to the attention of the developers.
I created a private case for this issue and will email you with the details.
Matt Developer Support Engineer
Thanks for all of the help Matt!
This issue has been resolved with the latest service release.
Thanks Matt.