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

How to programmatically give selected row keyboard.focus

1 Answer 104 Views
GridView
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 10 Aug 2013, 10:31 PM
When I programmatically change row selection, i would like it to have Keyboard.focus. I did this with TreeView by adding a handler for the TreeViewItem Select event.  I tried to do a similar thing for GridView by adding a handler to the GridViewRow Select event. But this does not work: It gets a "handler type is not valid". I notice that there is a command, "ActivateRow", but I can't find any documentation on what an active row is or how to execute the command.  Does an active row have keyboard focus?  How would I invoke it for the selected row? Or is there another way to do what I what?

1 Answer, 1 is accepted

Sort by
0
Yoan
Telerik team
answered on 14 Aug 2013, 01:27 PM
Hello David,

I have already answered your ticket showing you how to add a handler to GridViewRow's Selected event. I strongly believe that the problem is now resolved.

Don't hesitate to contact us if you have other questions.

Regards,
Yoan
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
GridView
Asked by
David
Top achievements
Rank 1
Answers by
Yoan
Telerik team
Share this question
or