Rank: Advanced Member Groups: Member
Joined: 8/26/2009 Posts: 64
|
Just discovered the following on masked edit below. Decimal on keypad works to advance past decimal in mask (segment), but period on keyboard does not. What can I do? Reminder, I used this method because I want to mask for a money field (always two decimal places) and the amount might be positive or negative (hence reason I can't use numeric). Note - using below in a custom column:
Code: HTML/ASPX
<eo:MaskedEdit ID="MaskedEdit1" runat="server" PromptChar="" TextBoxStyle-CssText="text-align: right;" RightToLeft="False">
<eo:MaskedEditSegment SegmentType="Mask" MinValue="-999999999"
Mask="-##########" MaxValue="99999999999" />
<eo:MaskedEditSegment Text="." />
<eo:MaskedEditSegment Mask="##" SegmentType="Mask" />
</eo:MaskedEdit>
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
We will look into this and see what we can do. The best way is probably to extend the NumericSegment to allow negative numbers. We will see if we can implement that as soon as possible.
Thanks!
|
Rank: Advanced Member Groups: Member
Joined: 8/26/2009 Posts: 64
|
Thanks.
From an accountant's point of view -- this masked edit is better than a numeric segment.
Other than the problem with the period, it is rare to see one this well matched for currency-only values. This mask can be edited without finding the individual character that has to be changed, for example to change 821.45, one can just press decimal (or right arrow) then change the 45 to 46, vs. getting to the 5 character with several right arrows, and overwriting it, or going past it, backspacing and replacing. This mask works like a calculator or adding machine and is also right justified, which is much more intuitive for currency where data entry speed is at issue.
So, if you can fix the problem with the period, I believe it has advantages over the signed numeric field that cannot as easily be formatted for use with currency.
Note also that the objective of the mask is to avoid the need for any validation -- it should only accept a money-oriented field. I thought with the numeric, this is harder to do, but I'm not sure. I don't want it to accept 821.456, then have to give an error or round it, which is what happens in a non-masked field.
Meanwhile, one can use a right-arrow in place of decimal, gets me by for now.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
I see your point. We will try to get the period key working.
Thanks
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
We have posted a new build that supports period key. Please see your private message for download location.
Thanks!
|