David Schulz
Top achievements
Rank 1
David Schulz
asked on 12 Jan 2010, 02:09 PM
Is it possible to treat the enter key like tab for tabbing through cells in a gridview?
7 Answers, 1 is accepted
0
Hello David,
Unfortunately this is not possible currently. We will do our best to add this for Q1 2010 (middle of March).
Best wishes,
Vlad
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.
Unfortunately this is not possible currently. We will do our best to add this for Q1 2010 (middle of March).
Best wishes,
Vlad
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.
0
Son Nguyen
Top achievements
Rank 1
answered on 01 Jul 2010, 09:26 PM
Is this functionality available now?
0
Hi Bilal Azam,
Sincerely yours,
Milan
the Telerik team
By default the grid will not behave this way but now you can easily alter its behavior by using IKeyboardCommandsProvider as demonstrated in this blog post.
Sincerely yours,
Milan
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0
Son Nguyen
Top achievements
Rank 1
answered on 03 Jul 2010, 08:31 PM
Hi Milan,
The link to the other blog post doesn't seem to be working.
Regards,
Bilal Azam
The link to the other blog post doesn't seem to be working.
Regards,
Bilal Azam
0
Hello Bilal Azam,
Sincerely yours,
Milan
the Telerik team
Seems that the blog title has changed - here is the updated link.
Sincerely yours,
Milan
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0
Jose
Top achievements
Rank 1
answered on 19 Jan 2016, 06:35 PM
I am looking for the information mentioned in this thread. The link(s) to the blog post do not work. I was unable to find the post by searching in your blog either. Is the post still available? Do you have an updated link you can share with us?
0
Hello,
This kind of functionality can be achieved by creating a custom Keyboard Command Provider for our GridView. We simply have to add the following lines to its ProvideCommandsForKey method:
I hope this information is of help.
Regards,
Dilyan Traykov
Telerik
This kind of functionality can be achieved by creating a custom Keyboard Command Provider for our GridView. We simply have to add the following lines to its ProvideCommandsForKey method:
if
(key == Key.Enter)
{
commandsToExecute.Clear();
commandsToExecute.Add(RadGridViewCommands.MoveNext);
commandsToExecute.Add(RadGridViewCommands.SelectCurrentUnit);
if
(
this
.parentGrid.RowInEditMode !=
null
)
{
commandsToExecute.Add(RadGridViewCommands.BeginEdit);
}
}
// remove if you still want the user to be able to navigate with Tab
if
(key == Key.Tab)
{
commandsToExecute.Clear();
}
I hope this information is of help.
Regards,
Dilyan Traykov
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items