This question is locked. New answers and comments are not allowed.
Hi,
I'm having trouble with RadGridView when leaving edit mode in a cell. It began when I updated Telerik components to version 2012.2.0725.1040 for SL4 from 2012.1.326.1040. The error message was as follows:
When updating to 2012.2.0912.1040 and later also 2012.2.1001.DEV.hotfix I get the "same" error but with another call stack. The error message now is as follows.
Any idea of what has been changed in these builds? The release notes only said "Validation improvement to support better various validation scenarios." in the release notes for 2012.1.607.
Kind Regards,
Clas Ericson
I'm having trouble with RadGridView when leaving edit mode in a cell. It began when I updated Telerik components to version 2012.2.0725.1040 for SL4 from 2012.1.326.1040. The error message was as follows:
Object reference not set to an instance of an object.
vid Telerik.Windows.Controls.GridViewBoundColumnBase.GetValidationErrors(Object dataItem, String propertyName)
vid Telerik.Windows.Controls.GridView.GridViewCell.<
GetDataErrors
>d__7.MoveNext()
vid Telerik.Windows.Controls.GridView.GridViewDataControl.ValidateCell(GridViewCell cell)
vid Telerik.Windows.Controls.GridView.GridViewDataControl.PerformCellValidation(GridViewCell cell)
vid Telerik.Windows.Controls.GridView.GridViewDataControl.CommitCellEdit(GridViewCell currentCell, Boolean isLeavingRow)
vid Telerik.Windows.Controls.GridView.GridViewDataControl.CommitEdit()
vid Telerik.Windows.Controls.GridView.GridViewDataControl.OnCommitEditCommand(Object sender, ExecutedRoutedEventArgs e)
vid Telerik.Windows.Controls.CommandBinding.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
vid Telerik.Windows.Controls.CommandManager.ExecuteCommandBinding(Object sender, ExecutedRoutedEventArgs e, CommandBinding commandBinding)
vid Telerik.Windows.Controls.CommandManager.FindCommandBinding(CommandBindingCollection commandBindings, Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
vid Telerik.Windows.Controls.CommandManager.FindCommandBinding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
vid Telerik.Windows.Controls.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
vid Telerik.Windows.Controls.ExecutedRoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object target)
vid Telerik.Windows.RadRoutedEventArgs.InvokeHandler(Delegate handler, Object target)
vid Telerik.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RadRoutedEventArgs routedEventArgs)
vid Telerik.Windows.RouteItem.InvokeHandler(RadRoutedEventArgs routedEventArgs)
vid Telerik.Windows.EventRoute.InvokeHandlersImpl(Object source, RadRoutedEventArgs args, Boolean raisedAgain)
vid Telerik.Windows.EventRoute.InvokeHandlers(Object source, RadRoutedEventArgs args)
vid Telerik.Windows.RadRoutedEventHelper.RaiseEvent(DependencyObject element, RadRoutedEventArgs args)
vid Telerik.Windows.DependencyObjectExtensions.RaiseEvent(DependencyObject element, RadRoutedEventArgs e)
vid Telerik.Windows.Controls.RoutedCommand.ExecuteImpl(Object parameter, UIElement target)
vid Telerik.Windows.Controls.RoutedCommand.Execute(Object parameter, UIElement target)
vid Telerik.Windows.Controls.GridView.GridViewDataControl.ExecutePendingCommand()
vid Telerik.Windows.Controls.GridView.GridViewDataControl.PendAndExecuteCommands(KeyEventArgs e)
vid Telerik.Windows.Controls.GridView.GridViewDataControl.OnKeyDown(KeyEventArgs e)
vid System.Windows.Controls.Control.OnKeyDown(Control ctrl, EventArgs e)
vid MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName, UInt32 flags)
When updating to 2012.2.0912.1040 and later also 2012.2.1001.DEV.hotfix I get the "same" error but with another call stack. The error message now is as follows.
Object reference not set to an instance of an object.
vid Telerik.Windows.Controls.StyleManager.GetTheme(DependencyObject element)
vid Telerik.Windows.Controls.GridView.GridViewCell.get_EditorPresenter()
vid Telerik.Windows.Controls.GridView.GridViewDataControl.ValidateCell(GridViewCell cell)
vid Telerik.Windows.Controls.GridView.GridViewDataControl.PerformCellValidation(GridViewCell cell)
vid Telerik.Windows.Controls.GridView.GridViewDataControl.CommitCellEdit(GridViewCell currentCell, Boolean isLeavingRow)
vid Telerik.Windows.Controls.GridView.GridViewDataControl.CommitEdit()
vid Telerik.Windows.Controls.GridView.GridViewDataControl.OnCommitEditCommand(Object sender, ExecutedRoutedEventArgs e)
vid Telerik.Windows.Controls.CommandBinding.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
vid Telerik.Windows.Controls.CommandManager.ExecuteCommandBinding(Object sender, ExecutedRoutedEventArgs e, CommandBinding commandBinding)
vid Telerik.Windows.Controls.CommandManager.FindCommandBinding(CommandBindingCollection commandBindings, Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
vid Telerik.Windows.Controls.CommandManager.FindCommandBinding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
vid Telerik.Windows.Controls.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
vid Telerik.Windows.Controls.ExecutedRoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object target)
vid Telerik.Windows.RadRoutedEventArgs.InvokeHandler(Delegate handler, Object target)
vid Telerik.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RadRoutedEventArgs routedEventArgs)
vid Telerik.Windows.RouteItem.InvokeHandler(RadRoutedEventArgs routedEventArgs)
vid Telerik.Windows.EventRoute.InvokeHandlersImpl(Object source, RadRoutedEventArgs args, Boolean raisedAgain)
vid Telerik.Windows.EventRoute.InvokeHandlers(Object source, RadRoutedEventArgs args)
vid Telerik.Windows.RadRoutedEventHelper.RaiseEvent(DependencyObject element, RadRoutedEventArgs args)
vid Telerik.Windows.DependencyObjectExtensions.RaiseEvent(DependencyObject element, RadRoutedEventArgs e)
vid Telerik.Windows.Controls.RoutedCommand.ExecuteImpl(Object parameter, UIElement target)
vid Telerik.Windows.Controls.RoutedCommand.Execute(Object parameter, UIElement target)
vid Telerik.Windows.Controls.GridView.GridViewDataControl.ExecutePendingCommand()
vid Telerik.Windows.Controls.GridView.GridViewDataControl.PendAndExecuteCommands(KeyEventArgs e)
vid Telerik.Windows.Controls.GridView.GridViewDataControl.OnKeyDown(KeyEventArgs e)
vid System.Windows.Controls.Control.OnKeyDown(Control ctrl, EventArgs e)
vid MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName, UInt32 flags)
Any idea of what has been changed in these builds? The release notes only said "Validation improvement to support better various validation scenarios." in the release notes for 2012.1.607.
Kind Regards,
Clas Ericson