Telerik RadGridView TabIndex Issue

5 posts, 0 answers
  1. Anita
    Anita avatar
    6 posts
    Member since:
    Feb 2012

    Posted 28 Feb 2012 Link to this post

    Hi,
    I m using telerik version: 2011.1.419.1040 with silverlight 4.
    Browser: IE

    I m using a telerik radgridview, which contains around 12 columns, consist of combobox and textboxes.
    issues which i m having are:
    1. by default I want focus on first control, which is not coming.
    2. when I use tab key to navigate through cells in gridview, the first focus came to cell and then it came to textbox or control.
    what I want is, to bring first focus on control(textbox).
    3. first column is combobox and then there is a textbox, while I select any item from combobox,the textbox l;oses its focus, while when i didn't select any item, focus came to textbox.

    Please respond asap.

    Thanks and Regards-
    Anita.
  2. Shawn
    Shawn avatar
    5 posts
    Member since:
    Jun 2011

    Posted 03 Jun 2015 Link to this post

    I have the exact same issue and even though I have found other posts asking the same thing on Telerik Forums, none of the answers apply to this particular situation.  They always just link to some other thread that is not the same and claim its a solution.  :/
  3. DevCraft banner
  4. Yoan
    Admin
    Yoan avatar
    1070 posts

    Posted 08 Jun 2015 Link to this post

    Hi Shawn,

    Actually, this is how RadGridView's built-in keyboard navigation works - pressing the Tab key will change the current cell (it will be focused). Then if you have a control in the CellTemplate of the column it will be focused when the Tab key is pressed for a second time. What I can suggest you is to set the TabStopMode property to Skip. In this way you will not be able to navigate in that column at all using the built-in navigation.

    Regards,
    Yoan
    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
  5. Shawn
    Shawn avatar
    5 posts
    Member since:
    Jun 2011

    Posted 08 Jun 2015 Link to this post

    Hello,

    Thank you for the reply.  Your possible solution won't work for my client as they still need access to the control inside the cell through tabbing.  Is there currently any way through tabbing, that they could navigate to the control in the cell without the focus hitting the gridview cell first?  I suspect this is not possible but it's worth asking.

  6. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 10 Jun 2015 Link to this post

    Hello,

    You can try configuring RadGridView.IsTabStop="False". That way you will only be able to tab over the TextBoxes assigned as CellTemplate.
    Otherwise, the way to control the Tab stop behavior of the column would be through configuring column.TabStopMode, however, this seems to be not useful in the specific case.

    Regards,
    Dimitrina
    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
Back to Top
DevCraft banner