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

LostFocus event fires everytime

1 Answer 81 Views
GridView
This is a migrated thread and some comments may be shown as answers.
VS
Top achievements
Rank 1
VS asked on 22 Dec 2010, 12:26 AM
Hi,
I have a datagrid which has template columns in it.
When i click a cell for editing, the grid's lostfocus is fired.
What i want to do is when the user edit a value in a cell and click outside the datagrid ie: on other control or the window its containing, i need to do something.
I tried to check !Datagrid.IsFocused and tried to do something when the grid doesn't have any focus. But that check always fails when i click outside the datagrid.

Any idea how to solve this?

Thanks

S

1 Answer, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 22 Dec 2010, 09:13 AM
Hi Sujith,

Have you tried the LostFocus event of RadGridView?

All the best,
Veselin Vasilev
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
Tags
GridView
Asked by
VS
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Share this question
or