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

Created Unassigned: MaskedEdit Extended Numeric value Abnormal padding Error [28041]

$
0
0
I recently installed ASP.NET AJAX Control Toolkit v15.1.4 .

Issue :- For numeric mask "9,999,999.99", the MaskedEditExtender always includes a space before the "." when you switch. It also adds one space before the "." when the control is revisited.

Therefore if i input 89.67 it becomes 89_.67 when i switch and 890.67 when i exit control.

The settings are exactly from sample provided on line below. How do i solve this. I tried disabling Auto complete but then the form does not load thereafter.


<strong>Enter a Number (format: <em>9,999,999.99</em>):</strong>
<br />
<asp:TextBox ID="TextBox2" runat="server" Width="130px" Height="16px" ValidationGroup="MKE" />
<ajaxToolkit:MaskedEditExtender ID="MaskedEditExtender2" runat="server"
TargetControlID="TextBox2"
Mask="9,999,999.99"
MessageValidatorTip="true"
OnFocusCssClass="MaskedEditFocus"
OnInvalidCssClass="MaskedEditError"
MaskType="Number"
InputDirection="RightToLeft"
AcceptNegative="Left"
DisplayMoney="Left"
ErrorTooltipEnabled="True" />
<ajaxToolkit:MaskedEditValidator ID="MaskedEditValidator2" runat="server"
ControlExtender="MaskedEditExtender2"
ControlToValidate="TextBox2"
IsValidEmpty="false"
MaximumValue="12000"
EmptyValueMessage="Number is required"
InvalidValueMessage="Number is invalid"
MaximumValueMessage="Number &gt; 12000"
MinimumValueMessage="Number &lt; -100"
MinimumValue="-100"
Display="Dynamic"
TooltipMessage="Input a number from -100 to 12000"
EmptyValueBlurredText="*"
InvalidValueBlurredMessage="*"
MaximumValueBlurredMessage="*"
MinimumValueBlurredText="*"
ValidationGroup="MKE" />
<br />
<em><span style="font-size: 8pt">Tip: Type '.' to switch</span></em>
<br />
<br /

Viewing all articles
Browse latest Browse all 4356

Trending Articles



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