When loading the control from the code behind, a mask of 99.9 and acceptnegative set to left (or right does not matter), the control only displays the first digit to the left of the decimal, and the decimal. It does not display the negative sign if it exists, nor the second digit. The control allows the user to input the negative and two digits to the left of the decimal.
Example: loading a value of -10.5 from code behind, shows 0.5 in control.
Here is the control and maskededitextender:
```
<asp:TextBox ID="txtLine" runat="server"
Text='<%# DataBinder.Eval(Container.DataItem, "Line", "{0:##.#}")%>' style="width:35px; text-align:right; border-style:inset; font-family: Arial, Helvetica, sans-serif; font-size: 9pt; color: #000000" />
<ajaxToolkit:MaskedEditExtender ID="txtLineMaskedEditExtender" runat="server" TargetControlID="txtLine"
Mask="99.9" MaskType="Number" MessageValidatorTip="true" OnFocusCssClass="MaskedEditFocus"
OnInvalidCssClass="MaskedEditError" InputDirection="RightToLeft" AcceptNegative="left" DisplayMoney="None" />
```
settting the mask to 999.9 shows the 2nd digit to the left of the decimal, but (as it should) allows the user to put in 3 digits.
when data is preloaded using the 999.9, there are some strange behaviors when the user attempts to enter data - the cursor always begins one character to the left of the decimal, so they are always entering first into the 10s position.
Comments: We were unable to reproduce this issue. Would you please provide a sample project?
Example: loading a value of -10.5 from code behind, shows 0.5 in control.
Here is the control and maskededitextender:
```
<asp:TextBox ID="txtLine" runat="server"
Text='<%# DataBinder.Eval(Container.DataItem, "Line", "{0:##.#}")%>' style="width:35px; text-align:right; border-style:inset; font-family: Arial, Helvetica, sans-serif; font-size: 9pt; color: #000000" />
<ajaxToolkit:MaskedEditExtender ID="txtLineMaskedEditExtender" runat="server" TargetControlID="txtLine"
Mask="99.9" MaskType="Number" MessageValidatorTip="true" OnFocusCssClass="MaskedEditFocus"
OnInvalidCssClass="MaskedEditError" InputDirection="RightToLeft" AcceptNegative="left" DisplayMoney="None" />
```
settting the mask to 999.9 shows the 2nd digit to the left of the decimal, but (as it should) allows the user to put in 3 digits.
when data is preloaded using the 999.9, there are some strange behaviors when the user attempts to enter data - the cursor always begins one character to the left of the decimal, so they are always entering first into the 10s position.
Comments: We were unable to reproduce this issue. Would you please provide a sample project?