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

Tab key does not tab to next cell

7 Answers 503 Views
GridView
This is a migrated thread and some comments may be shown as answers.
SUNIL
Top achievements
Rank 2
Iron
SUNIL asked on 10 Oct 2010, 02:20 AM
I am using radgridview from Q1 2008 SP1.
The tab key was working till today afternoon, but now it doesn't work anymore.
The tab key was automatically transferring focus to the next cell for editing, but it has suddenly stopped to behave  like this. Instead now the tab key simply ends the edit process for current cell but does not put the next cell into edit mode.
May be someone has solved this issue.
Any feedback would be greatly appreciated as I am on a very tight project deadline for this.

Thanks

7 Answers, 1 is accepted

Sort by
0
SUNIL
Top achievements
Rank 2
Iron
answered on 10 Oct 2010, 03:42 AM
I am using the following code to bind the grid.
attributesRadGridView.Visible = true;
 
attributesRadGridView.GridElement.BeginUpdate();
attributesRadGridView.DataSource = null;
attributesRadGridView.Refresh();
                             
attributesRadGridView.DataSource = ds;
attributesRadGridView.DataMember = ds.Tables[0].TableName;
                
attributesRadGridView.Refresh();
attributesRadGridView.GridElement.EndUpdate(true);
0
SUNIL
Top achievements
Rank 2
Iron
answered on 10 Oct 2010, 06:49 AM
I was able to solve the problem by setting the property 'StandardTab' to false. This property, when true, does not tab into the next field. It needs to be false for tabbing to occur in a manner that most people would think is standard behavior.
0
Emanuel Varga
Top achievements
Rank 1
answered on 10 Oct 2010, 10:45 AM
Hello Sunil,

I'm glad you found your answer, but as i just wanted to let you know that by default the StandardTab property is set to false, so that's the reason why it was working.

Hope this helps, if you have any other questions or comments, please let me know,

Best Regards,
Emanuel Varga
0
Ira
Top achievements
Rank 1
answered on 08 Jan 2014, 06:52 PM
I was scratching my head today about whether the StandardTab property needed to be true or false in order to be able to tab to the next column.  And I see that other people seem to be having this uncertainty as well.

A general problem with much of the RadGridView API documentation is that it is pretty much bare-bones, with little or no examples or descriptive text.  There is nothing at http://www.telerik.com/help/winforms/p_telerik_wincontrols_ui_radgridview_standardtab.html which lets you know the effect of setting StandardTab to true vs. setting it to false.

There is a lot of good information available in the forums and in the general GridView link at http://www.telerik.com/help/winforms/gridview-overview.html .  But it's hard to discover this information, and much of it really should be in the API documentation itself so it can be found easily.
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 10 Jan 2014, 09:04 AM
Hello Ira,

Thank you for contacting Telerik Support.

The RadGridView.StandardTab property gets or sets a value, indicating whether the TAB key moves the focus to the next control in the tab order, rather than moving focus to the next cell in the control. So if you have several controls on the form and the RadGridView is currently focused, depending on this property's value, Tab key will navigate you to the next cell in the grid (StandardTab=false) or will navigate you directly to the next control (StandardTab=true) according to TabIndex.

Your feedback is really appreciated. We are constantly striving for our documentation improvement in order to take a turn for the better. However, the online documentation is not the only kind of resource that our customers use. Feel free to benefit from our community knowledge exchanging via the online forum, where most of the common problems have already been resolved. Our Knowledge Base is also an appropriate place to find an interesting solution for a certain problem.

Also, you can always post your technical questions/problems in the support ticketing system as this is the best way to reach our support staff - the support system assigns a response time for all of your questions, depending on your license and ensures that all questions will reach the respective developers, if needed.  

I hope this information helps. Should you have further questions, I would be glad to help.

Regards,
Desislava
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
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 >>
0
Indranil
Top achievements
Rank 1
answered on 25 Jan 2016, 11:38 AM

I am Working with 2012 Q1 version. Facing the same problem, Tried with the solution, given here, But this is not working.

Please help me, what i am missing here .

 

Thanks

Neel

 

0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 26 Jan 2016, 01:30 PM
Hello Neel,

Thank you for writing.

Following the provided information, I was unable to reproduce the issue you are facing. If the RadGridView.StandardTab property is set to false, when pressing Tab key while the grid is focused, it will focus the next cell in the grid in version 2012.1.321. I have attached my sample project. Could you please specify the exact steps how to reproduce the problem? Alternatively, feel free to open a support ticket and get back to me with a sample project so I can investigate the precise case. Thank you in advance.

I am looking forward to your reply.

Regards,
Dess
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
Tags
GridView
Asked by
SUNIL
Top achievements
Rank 2
Iron
Answers by
SUNIL
Top achievements
Rank 2
Iron
Emanuel Varga
Top achievements
Rank 1
Ira
Top achievements
Rank 1
Dess | Tech Support Engineer, Principal
Telerik team
Indranil
Top achievements
Rank 1
Share this question
or