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

How to capture GridView's CellLostFocus event?

2 Answers 109 Views
GridView
This is a migrated thread and some comments may be shown as answers.
apoorv
Top achievements
Rank 1
apoorv asked on 24 Jan 2011, 07:07 AM
Hi,
     I am using MVVM pattern. I have a telrik gridview and i want to capture its CellLostFocus event,for that i am using CellEditEnded event. But problem is that this event is firing when i am tabbing out of the cell,not on lost focus of the cell. Is there any way to capture CellLostFocus event of gridview. Since I am using MVVM pattern so I also dont want to write any code in code behind.

Thanks

2 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 24 Jan 2011, 07:58 AM
Hi,

 You can use custom attached behavior to capture events in MVVM style. You can check for example this demo

Regards,
Vlad
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0
apoorv
Top achievements
Rank 1
answered on 24 Jan 2011, 12:45 PM
Hi
    Thanks for responding,above GridViewHeaderMenu class is very useful. But how to capture CellLostFocus event by that.
Tags
GridView
Asked by
apoorv
Top achievements
Rank 1
Answers by
Vlad
Telerik team
apoorv
Top achievements
Rank 1
Share this question
or