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

Cannot disable TabStop for TextBox

9 Answers 736 Views
TextBox
This is a migrated thread and some comments may be shown as answers.
Roberto Wenzel
Top achievements
Rank 2
Roberto Wenzel asked on 09 May 2011, 07:01 PM
Hello,
I would like to remove some of my RadControls (e.g. RadTextBoxes) from the Tab order.
But setting TabStop to false has no effect. The controls are still in Tab order.
Is there a trick?
Cheers Roberto

9 Answers, 1 is accepted

Sort by
0
Accepted
Nikolay
Telerik team
answered on 10 May 2011, 01:09 PM
Hi Roberto,

Thank you for the question.

In order to change the TabStop behavior of RadTextBox, you should actually set the TabStop property of the TextBoxItem. The value of the RadTextBox.TabStop property is not relevant to the actual behavior of the control:
this.radTextBox1.TextBoxElement.TextBoxItem.TabStop = false;

I hope this helps.

Greetings,
Nikolay
the Telerik team
Q1’11 SP1 of RadControls for WinForms is available for download; also available is the Q2'11 Roadmap for Telerik Windows Forms controls.
0
Roberto Wenzel
Top achievements
Rank 2
answered on 11 May 2011, 06:15 PM
Hello Nikolay,
thank you very much for your help.
That is exactly what I was searching for.
Cheers Roberto
0
Nikolay
Telerik team
answered on 12 May 2011, 08:37 AM
Hi Roberto,

I am glad to hear that I could be of help. Should you have additional questions, feel free to write back.

All the best,
Nikolay
the Telerik team
Q1’11 SP1 of RadControls for WinForms is available for download; also available is the Q2'11 Roadmap for Telerik Windows Forms controls.
0
Marco
Top achievements
Rank 2
Veteran
answered on 27 Aug 2012, 12:13 PM
Hello,

Is it planned to fix theses tabs stories ?
  • Textbox tabstop in designer does nothing, should use a ligne a code to reach the real Tabstop Property... Ok it's work, but it is not userfriendly at all. (So much work to link these two property ?)
  • DropDownList has not tabstop in design mode, I'm sure I will also find an hidden one.

Tabindex and Tabstop are very important properties for a good data entry forms!

Writing additionnal lines of code for this design task (which works good with basic winforms control) is not giving a good image of your product...

0
Nikolay
Telerik team
answered on 29 Aug 2012, 07:36 AM
Hi Marco,

Thank you for the feedback.

Yes, generally speaking we have plans for improving this behavior as we understand how confusing and time taking this can be. Still, we have to think of a solution that would improve the user experience and that would not break the existing applications as RadTextBox is a popular control and we do not want to change its behavior in these application with the solution that we are going to introduce.

You can track the status of the issue and vote for it at the following link: http://www.telerik.com/support/pits.aspx#/public/winforms/12486 

Let us know if you have additional questions or feedback.

Kind regards,
Nikolay
the Telerik team
RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
0
Marco
Top achievements
Rank 2
Veteran
answered on 29 Aug 2012, 11:23 AM
Hi Nikolay,

Thanks for opening a issue about this.

When we know how the tabbing has been implemented. It's work fine (that's the most important !). 
0
SoniTek
Top achievements
Rank 1
answered on 27 Sep 2012, 07:10 PM
I set the TabStop property of the RadTextBoxItem to false from the RadTextBox control smart tag and it doesn't disable TabStop.

Any idea why it does not work?
0
Nikolay
Telerik team
answered on 29 Sep 2012, 09:07 AM
Hi SoniTek,

Due to the specifics of the control in regards to its tabbing behavior, the TabStop of RadTextBoxItem is not serialized at design-time and you need to set it programmatically as shown above in this thread:

this.radTextBox1.TextBoxElement.TextBoxItem.TabStop = false;

All the best,
Nikolay
the Telerik team
RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
0
SoniTek
Top achievements
Rank 1
answered on 01 Oct 2012, 02:10 PM
Thank you Nikolay.
Tags
TextBox
Asked by
Roberto Wenzel
Top achievements
Rank 2
Answers by
Nikolay
Telerik team
Roberto Wenzel
Top achievements
Rank 2
Marco
Top achievements
Rank 2
Veteran
SoniTek
Top achievements
Rank 1
Share this question
or