This is a migrated thread and some comments may be shown as answers.

When validation is active in radgrid cell, cannot lost focus from cell.

0 Answers 160 Views
GridView
This is a migrated thread and some comments may be shown as answers.
kity
Top achievements
Rank 2
kity asked on 24 Sep 2014, 12:29 PM
When validation is active in radgrid cell, cannot lost focus from cell.
Standart red border in cell apear from IDataErrorInfo when triger validation according inner business logic.
But why cannot change cursor from current edit cell with error? Cannot change cursor focus to other cell.

Why?

<telerik:RadGridView x:Name="NASA_PriorityShips" ItemsSource="{Binding ShipCollections, Mode=TwoWay}"
                      SelectionMode="Single" SelectedItem="{Binding Path=SelectedShip, Mode=TwoWay}" 
                      AutoGenerateColumns="False" ShowGroupPanel="False" RowIndicatorVisibility="Collapsed"
                      ColumnWidth="*" CanUserFreezeColumns="False">

                     
workaround: Must press key "Esc" to undo changes in cell, validation will be set to none active.

I set ActionOnLostFocus="None" but the same as first one.

<telerik:RadGridView x:Name="NASA_PriorityShips" ActionOnLostFocus="None" ItemsSource="{Binding ShipCollections, Mode=TwoWay}"
                      SelectionMode="Single" SelectedItem="{Binding Path=SelectedShip, Mode=TwoWay}" 
                      AutoGenerateColumns="False" ShowGroupPanel="False" RowIndicatorVisibility="Collapsed"
                      ColumnWidth="*" CanUserFreezeColumns="False">
                     
                     
ActionOnLostFocus="None" in RadGridView not work at all.

No answers yet. Maybe you can help?

Tags
GridView
Asked by
kity
Top achievements
Rank 2
Share this question
or