This question is locked. New answers and comments are not allowed.
Hi there
I am using following code in Visual Studio 2012 for Radmasked Textbox
<data:DataField Label="Handling Fee" Margin="3" LabelPosition="Top">
<telerik:RadMaskedCurrencyInput Value="{Binding Delivery_Shippable.handling_fee, Mode=TwoWay, NotifyOnValidationError=True, ValidatesOnExceptions=True}" Mask="#9.2" />
</data:DataField>
But when I am trying to enter any numericc value it is throwing following exception
Input string is not in correct format
at System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)
at Telerik.Windows.Controls.MaskedTextBox.NumericMaskHandler.set_Value(Object value)
at Telerik.Windows.Controls.MaskedTextBox.NumericMaskHandler.SetMaskedText(String str)
at Telerik.Windows.Controls.MaskedTextBox.NumericMaskEditingHandler.Insert(String insertion)
at Telerik.Windows.Controls.MaskedTextBox.NumericMaskHandler.Insert(Char insertion)
at Telerik.Windows.Controls.MaskedTextBox.NumericMaskHandler.Insert(String insertion)
at Telerik.Windows.Controls.RadMaskedTextBox.TextBox_TextChanged()
at Telerik.Windows.Controls.MaskedTextBox.ExtendedTextBox.ExtendedTextBox_TextChanged(Object sender, TextChangedEventArgs e)
at MS.Internal.CoreInvokeHandler.InvokeEventHandler(UInt32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName, UInt32 flags)
I am using latest version of telerik
Please let me know where I am missing the thing
Thanks
I am using following code in Visual Studio 2012 for Radmasked Textbox
<data:DataField Label="Handling Fee" Margin="3" LabelPosition="Top">
<telerik:RadMaskedCurrencyInput Value="{Binding Delivery_Shippable.handling_fee, Mode=TwoWay, NotifyOnValidationError=True, ValidatesOnExceptions=True}" Mask="#9.2" />
</data:DataField>
But when I am trying to enter any numericc value it is throwing following exception
Input string is not in correct format
at System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)
at Telerik.Windows.Controls.MaskedTextBox.NumericMaskHandler.set_Value(Object value)
at Telerik.Windows.Controls.MaskedTextBox.NumericMaskHandler.SetMaskedText(String str)
at Telerik.Windows.Controls.MaskedTextBox.NumericMaskEditingHandler.Insert(String insertion)
at Telerik.Windows.Controls.MaskedTextBox.NumericMaskHandler.Insert(Char insertion)
at Telerik.Windows.Controls.MaskedTextBox.NumericMaskHandler.Insert(String insertion)
at Telerik.Windows.Controls.RadMaskedTextBox.TextBox_TextChanged()
at Telerik.Windows.Controls.MaskedTextBox.ExtendedTextBox.ExtendedTextBox_TextChanged(Object sender, TextChangedEventArgs e)
at MS.Internal.CoreInvokeHandler.InvokeEventHandler(UInt32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName, UInt32 flags)
I am using latest version of telerik
Please let me know where I am missing the thing
Thanks