Hello All,
In the private bool Telerik.Windows.Controls.GridView.GridViewDataControl.Move(FocusNavigationDirection navigationDirection) method, there is an unchecked condition in the FocusNavigationDirection.Next and Previous switch condition that throws a NullRefereceException. Below is the code snippet:
I know its a bug because just below that is the proper form of the condition that checks this.CurrentCell for null:
- Rashad Rivera
omegusprime.com
In the private bool Telerik.Windows.Controls.GridView.GridViewDataControl.Move(FocusNavigationDirection navigationDirection) method, there is an unchecked condition in the FocusNavigationDirection.Next and Previous switch condition that throws a NullRefereceException. Below is the code snippet:
switch (navigationDirection) |
{ |
case FocusNavigationDirection.Next: |
case FocusNavigationDirection.Previous: |
if (!this.CurrentCell.IsInEditMode) |
{ //... |
I know its a bug because just below that is the proper form of the condition that checks this.CurrentCell for null:
case FocusNavigationDirection.Left: |
case FocusNavigationDirection.Right: |
case FocusNavigationDirection.Up: |
case FocusNavigationDirection.Down: |
currentCellContainer = this.OnArrowKeyDown(this.CurrentCell, navigationDirection); |
if ((this.CurrentCell != null) && this.CurrentCell.IsInEditMode) |
{ //... |
- Rashad Rivera
omegusprime.com