Cannot disable TabStop for TextBox

10 posts, 1 answers
  1. Roberto Wenzel
    Roberto Wenzel avatar
    41 posts
    Member since:
    Sep 2012

    Posted 09 May 2011 Link to this post

    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
  2. Answer
    Nikolay
    Admin
    Nikolay avatar
    1803 posts

    Posted 10 May 2011 Link to this post

    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.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Roberto Wenzel
    Roberto Wenzel avatar
    41 posts
    Member since:
    Sep 2012

    Posted 11 May 2011 Link to this post

    Hello Nikolay,
    thank you very much for your help.
    That is exactly what I was searching for.
    Cheers Roberto
  5. Nikolay
    Admin
    Nikolay avatar
    1803 posts

    Posted 12 May 2011 Link to this post

    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.
  6. Marco
    Marco avatar
    87 posts
    Member since:
    Apr 2011

    Posted 27 Aug 2012 Link to this post

    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...

  7. Nikolay
    Admin
    Nikolay avatar
    1803 posts

    Posted 29 Aug 2012 Link to this post

    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 >>
  8. Marco
    Marco avatar
    87 posts
    Member since:
    Apr 2011

    Posted 29 Aug 2012 Link to this post

    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 !). 
  9. SoniTek
    SoniTek avatar
    43 posts
    Member since:
    Apr 2005

    Posted 27 Sep 2012 Link to this post

    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?
  10. Nikolay
    Admin
    Nikolay avatar
    1803 posts

    Posted 29 Sep 2012 Link to this post

    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 >>
  11. SoniTek
    SoniTek avatar
    43 posts
    Member since:
    Apr 2005

    Posted 01 Oct 2012 Link to this post

    Thank you Nikolay.
Back to Top
UI for WinForms is Visual Studio 2017 Ready