Hi Guys,
I am using Telerik Q3 dlls 2013.3.1316.1050 for Silverlight.
I am using RadMaskedNumericInput with Mask=#30.2 as per requirements.
If I put Mask=#12.2the entire Text is displayed but for Mask=#30.2 the digits after decimal point are reseting to β0β,even If I edit it after the text box looses focus it is again reseting toβ0β. Ideally it should display the changed text.
Please find my piece of code:
<telerik:RadMaskedNumericInput
x:Name="txtA"
VerticalAlignment="Center"
Width="120"
IsClearButtonVisible="False"
Placeholder=" "
Mask="#30.2"
ValueChanged="txtA_ValueChanged"
SelectionOnFocus="CaretToEnd"
AutoFillZeros="False"
HorizontalAlignment="Center"
FlowDirection="LeftToRight"
InputBehavior="Insert"
UpdateValueEvent="LostFocus"
IsLastPositionEditable="True"
TextMode="PlainText"
TextOptions.TextFormattingMode="Ideal"
InputMethod.IsInputMethodEnabled="True"
Value ="{Binding Amount, Mode=TwoWay, StringFormat=\{0:n2\}}"
/>
Thanks,
Ravi
I am using Telerik Q3 dlls 2013.3.1316.1050 for Silverlight.
I am using RadMaskedNumericInput with Mask=#30.2 as per requirements.
If I put Mask=#12.2the entire Text is displayed but for Mask=#30.2 the digits after decimal point are reseting to β0β,even If I edit it after the text box looses focus it is again reseting toβ0β. Ideally it should display the changed text.
Please find my piece of code:
<telerik:RadMaskedNumericInput
x:Name="txtA"
VerticalAlignment="Center"
Width="120"
IsClearButtonVisible="False"
Placeholder=" "
Mask="#30.2"
ValueChanged="txtA_ValueChanged"
SelectionOnFocus="CaretToEnd"
AutoFillZeros="False"
HorizontalAlignment="Center"
FlowDirection="LeftToRight"
InputBehavior="Insert"
UpdateValueEvent="LostFocus"
IsLastPositionEditable="True"
TextMode="PlainText"
TextOptions.TextFormattingMode="Ideal"
InputMethod.IsInputMethodEnabled="True"
Value ="{Binding Amount, Mode=TwoWay, StringFormat=\{0:n2\}}"
/>
Thanks,
Ravi