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

Closed Issue: MaskedEditExtender erases all values beyond first comma separtor [11819]

$
0
0
When using the MaskedEditExtender with a Mask such as "999,999.99" and ClearMaskOnLostFocus="false" all values after the comma separator are erased when prepopulating (databinding) the TextBox control. See example below:

<asp:TextBox ID="Price" runat="server">9,999.00</asp:TextBox>
<cc1:MaskedEditExtender ID="PriceMask" runat="server" AutoComplete="false" ClearMaskOnLostFocus="false" DisplayMoney="Left" InputDirection="RightToLeft" Mask="9,999,999.99" MaskType="Number" TargetControlID="Price">
</cc1:MaskedEditExtender>

When viewed in the browser you will see "$_,___,999.00" as the value in the TextBox. I've tried removing/changing several properties to include AutoComplete and InputDirection which have no affect on this problem. The only solution (workaround) is to set ClearMaskOnLostFocus="true" (default).
Comments: Issues is closed as we are not able to reproduce. Please reopen with sample code if someone still getting problem.

Viewing all articles
Browse latest Browse all 4356

Trending Articles



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