Hi,
We are trying to use the MaskedInputCurrency control but we're having issues using different cultures.
Especially the data input goes haywire when using cultures with a different decimal seperator. (using the Dutch Culture for example)
Normally entering 123 in the currency control gives 123.00, but when switching culture the input becomes 1.23
Also we cant get a Negative value, when using the
UpdateValueEvent="LostFocus" but it works fine with "PropertyChanged"
You can enter a negative value, but when exiting the field it reverts back to the postivive value.
(except when programaticly setting a negative value, it stays negative all the time, and you cant switch to a positive one)
A smaller issue is that the negative sign (mostly '-' or '()' ) is shown twice ( '--123' and '((123)' ) when the control is unfocussed.
Hope you can help us,
Marinus
PS The MaskedNumeric Input works fine and doesn't have these issues, but it uses the wrong seperators (for numeric instead of currency)
PPS the code we are using; the converter is a toCents converter as we store the values a an Int. we are using the latest build 2.0823.40
<telerik:RadMaskedCurrencyInput
IsCurrencySymbolVisible="False" IsClearButtonVisible="False" InputBehavior="Insert" Mask="#9.2" SelectionOnFocus="SelectAll" TextMode="PlainText" SpinMode="PositionAndValue" UpdateValueEvent="PropertyChanged" Placeholder=" " AutoFillNumberGroupSeparators="True" > <telerik:RadMaskedCurrencyInput.Value> <t:XBinding Path="Parameters.Amount" Mode="TwoWay" Converter="{x:Static t:AmountConverter.Default}"> <Binding.ValidationRules> <StaticResource ResourceKey="AmountValidationRule" /> </Binding.ValidationRules> </t:XBinding> </telerik:RadMaskedCurrencyInput.Value> </telerik:RadMaskedCurrencyInput>
Hello
Why when in add range to the collection I don’t get to the data loading event?
How can I make it work without change the items source?
Best regard
Ehud
public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); Entities context = new Entities(); radGridView1.ItemsSource = context.Organisationseinheiten; } }CREATE TABLE [Organisationseinheiten] ( [OEID] Int PRIMARY KEY, [Name] NChar(128) NOT NULL, [Beschreibung] NChar(500) NULL); INSERT INTO Organisationseinheiten (OEID, Name, Beschreibung) VALUES (1, 'OE1', 'OE1'); INSERT INTO Organisationseinheiten (OEID, Name, Beschreibung) VALUES (2, 'OE3', 'OE1'); INSERT INTO Organisationseinheiten (OEID, Name, Beschreibung) VALUES (3, 'OE3', 'OE1'); INSERT INTO Organisationseinheiten (OEID, Name, Beschreibung) VALUES (4, 'OE4', 'OE1'); 
After i changed the size of the items (ColumnWidth and RowHeight), i get
sometimes an ArgumentException when I reorder items per drag-drop.
For the DataTemplate, i use a RadFluidContentControl
System.ArgumentException: '-42,-42,-42,-42' is not a valid value for property 'Padding'. at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal) at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value) at Telerik.Windows.Controls.RadTileView.OnDragInitialized(Object sender, DragInitializeEventArgs args) in c:\TB\101\WPF_Scrum\Release_WPF\Sources\Development\Controls\Navigation\TileView\RadTileView.cs:line 948 at Telerik.Windows.DragDrop.DragInitializeEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) in c:\TB\101\WPF_Scrum\Release_WPF\Sources\Development\Core\Controls\DragDropManager\DragInitializeEventArgs.cs:line 94 at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e) at Telerik.Windows.DragDrop.DragInitializer.StartDrag() in c:\TB\101\WPF_Scrum\Release_WPF\Sources\Development\Core\Controls\DragDropManager\DragInitializer.cs:line 169 at Telerik.Windows.DragDrop.DragInitializer.DragSourcePreviewMouseMove(Object sender, MouseEventArgs e) in c:\TB\101\WPF_Scrum\Release_WPF\Sources\Development\Core\Controls\DragDropManager\DragInitializer.cs:line 153 at System.Windows.Input.MouseEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args) at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted) at System.Windows.Input.InputManager.ProcessStagingArea() at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
Thanks for help
Peter