Regarding Tab Index

7 posts, 0 answers
  1. Allwin
    Allwin avatar
    4 posts
    Member since:
    Sep 2010

    Posted 12 Oct 2010 Link to this post

    Hi,
             This post is regarding Tab index properties of controls. Even after specifying tab index property of radtextboxes to false those textboxes has tab index when i run my application. Hope you got my problem. Reply as fast as you can


    Regards..

    ZeNo

    www.triacme.com
  2. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 12 Oct 2010 Link to this post

    Hi, 

    the tabindex property is an integer value and all controls on a form will have a tabindex.
    The TabStop property will stop a control from getting focus via the tab key and in this case should be set to false.

    Hope that helps
    Richard
  3. Nikolay
    Admin
    Nikolay avatar
    1805 posts

    Posted 18 Oct 2010 Link to this post

    Hello guys,

    RadTextBox hosts the standard textbox internally and you actually need to control the TabStop property of the internal control in order to achieve the desired behavior:
    this.radTextBox1.TextBoxElement.TextBoxItem.TabStop = false;

    I hope this helps.

    Kind regards,
    Nikolay
    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
  4. Khanh
    Khanh avatar
    17 posts
    Member since:
    May 2018

    Posted 25 Jul 2018 Link to this post

    Dear admins,

    I have some controls used on UI forms like this (1 CommandBarDropDownList, 2 CommandBarButton), please help me how to set tabindex for them ? Thanks so much.

    This is my code:

    private Telerik.WinControls.UI.RadCommandBar radCommandBar1 = new Telerik.WinControls.UI.RadCommandBar();;
    this.commandBarRowElement1 = new Telerik.WinControls.UI.CommandBarRowElement();
    this.commandBarStripElement1 = new Telerik.WinControls.UI.CommandBarStripElement();

    this.cddlFileName = new Telerik.WinControls.UI.CommandBarDropDownList();
    this.btnNew = new Telerik.WinControls.UI.CommandBarButton();
    this.btnSave = new Telerik.WinControls.UI.CommandBarButton();

    this.commandBarStripElement1.Grip.DisabledTextRenderingHint = System.Drawing.Text.TextRenderingHint.SystemDefault;
    this.commandBarStripElement1.Grip.TextRenderingHint = System.Drawing.Text.TextRenderingHint.SystemDefault;
    this.commandBarStripElement1.Items.AddRange(new Telerik.WinControls.UI.RadCommandBarBaseItem[] {
    this.cddlFileName,
    this.btnNew,
    this.btnSave,
    });

    this.commandBarRowElement1.Strips.AddRange(new Telerik.WinControls.UI.CommandBarStripElement[] {
    this.commandBarStripElement1
    });

    this.radCommandBar1.Rows.AddRange(new Telerik.WinControls.UI.CommandBarRowElement[] {
    this.commandBarRowElement1
    });
  5. Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    4116 posts

    Posted 26 Jul 2018 Link to this post

    Hello, Khanh,    

    Note that TabIndex is a property relevant only for controls. However, have in mind that RadCommandBar internally uses elements, not RadControls. That is why the TabIndex property can't be found for the CommandBarButtons or CommandBarDropDownList. I can suggest you using a RadPanel at the top of the form and insert all the necessary controls in the  desired order. Thus, you can control their TabIndex according to your scenario.

    I hope this information helps. If you have any additional questions, please let me know.  
     
    Regards,
    Dess
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  6. zozo
    zozo avatar
    3 posts
    Member since:
    Sep 2018

    Posted 16 Sep 2018 Link to this post

    not much for me 
  7. Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    4116 posts

    Posted 17 Sep 2018 Link to this post

    Hello, 
     
    The provided brief description is not enough for me to understand what is the requirement that you have. Could you please specify in details what is the exact goal that you are trying to achieve? Thus, we would be able to assist you further.

    I am looking forward to your reply.

    Regards,
    Dess
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top