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

[Solved] CellEditEnded and SelectionChanged sequence

1 Answer 94 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
melekayse
Top achievements
Rank 1
melekayse asked on 02 Sep 2009, 10:05 AM
I want to reach edited cell value when selected row changes while a cell is on edit mode. But in this case, I get value after second selectionchanged event, cause selectionchanged event fires before cellEditEnded. How can I fix this??

1 Answer, 1 is accepted

Sort by
0
Milan
Telerik team
answered on 07 Sep 2009, 02:55 PM
Hello melekayse,

How are you changing the selection? Are you using the mouse or the keyboard? If you are using the keyboard you can get the edited value like this:

void playersGrid_SelectionChanged(object sender, SelectionChangeEventArgs e)  
{  
    var editedValue = (this.myGrid.CurrentCell as GridViewCell).Editor.Value;  


Sincerely yours,
Milan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
GridView
Asked by
melekayse
Top achievements
Rank 1
Answers by
Milan
Telerik team
Share this question
or