Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Commented Unassigned: Issue with MaskedEditExtender MaskType="Number" value formatting. [28034]

$
0
0
__ACT Version:__ 15.1.4.0
__Control:__ MaskedEditExtender
__Markup:__

```
<asp:TextBox ID="txtOtherAmount" runat="server" />
<ajax:MaskedEditExtender ID="meeOtherAmount" TargetControlID="txtOtherAmount" Mask="9,999,999.99" DisplayMoney="Left" MaskType="Number" runat="server" ></ajax:MaskedEditExtender>
```

Hello,

I'm experiencing an issue when using the MaskedEditExtender. I've set up the TextBox and MEE as indicated above. When I run the application and enter a numeric value into the MEE everything seems to function just fine. However, when I click out of the TextBox, and then back in, the value entered in the TextBox changes as follows:

__Initial Entry:__ $ 0,000,125.00
__Lost Focus:__ 0,000,125.00
__Got Focus:__ $ 0,0_1,25_.00
__Lost Focus (Again):__ 0,01,250.00

This same behavior occurs when I don't enter the leading zeros. I tried setting ClearMaskOnLostFocus="false" to see if displaying the mask all the time would work, but alas I get the same behavior.

I visited the sample code site at http://ajaxcontroltoolkit.devexpress.com/MaskedEdit/MaskedEdit.aspx and it looks like the same behavior occurs for the MaskType="Number" sample. MEE's with other MaskTypes selected don't appear to have this problem.

I had just updated my version of ACT from the very old v4.1 in hopes of fixing the Backspace/Delete bug that existed for the MaskedEditExtender of that version.

Thank you.
Comments: This issue seems to be fixed after AJAX Control Toolkit v15.1.4 was released. To check it, please download the latest [source code](https://ajaxcontroltoolkit.codeplex.com/SourceControl/latest) and run the SampleSite project. I am looking forward to your response.

Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>