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

Issue with RadGridView LostFocus event

1 Answer 125 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.
Beril
Top achievements
Rank 1
Beril asked on 27 Sep 2012, 04:57 PM
Hi,
I have a scenario that i need to know if the lostfocus event on the RadGridView is triggered by the GridView itself, not by any of the controls in any of it's templates. As a standard behavior LostFocus is getting fired when any of the controls in the celltemplate loses focus but i need a way to distinguish if it's fired by the GridView itself; for example when you move the cursor to a different control in the same view.

Your prompt response is highly appreciated.

Thanks!

1 Answer, 1 is accepted

Sort by
0
Nick
Telerik team
answered on 28 Sep 2012, 10:32 AM
Hello,

Have you tried an alternative approach? You can get the current focused element when the GridView loses its focus to determine whether the Focus change has been initiated from the GridView.


Hope this helps!

Kind regards,
Nik
the Telerik team

Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

Tags
GridView
Asked by
Beril
Top achievements
Rank 1
Answers by
Nick
Telerik team
Share this question
or