Tab Navigation in RowDetailsTemplate

7 posts, 0 answers
  1. Lakshmi Satish Kumar Pydipati
    Lakshmi Satish Kumar Pydipati avatar
    3 posts
    Member since:
    Dec 2009

    Posted 28 Dec 2009 Link to this post

    Hi

    I have some textboxes in the row details template when I press the tab it is passing to the next row but not to the next textbox.
    can you please help me in this issue.

    Bye
    Satish
  2. Pavel Pavlov
    Admin
    Pavel Pavlov avatar
    2039 posts

    Posted 29 Dec 2009 Link to this post

    Hello Lakshmi Satish Kumar Pydipati,

    It seems you have hit a known issue in RadGridView . The RadGridView takes more control than needed over the Tab key navigation thus making scenarios as yours hard to achieve.

    We are currently working on fixing that problem . Meanwhile as a workaround I may suggest to block the RadGridView from handling Tab Key  and programmatically set focus to the next TextBox.

    You may block the RadGridView from stealing the Tab key with the following code :
    /assuming that you have subscribed to the KeyDown event of your textboxes)
    public MainPage()
            {
                InitializeComponent();
                this.RadGridView1.ItemsSource = GetPersons();
            }
      
            private void TextBox_KeyDown(object sender, KeyEventArgs e)
            {
                if (e.Key == Key.Tab)
                    e.Handled = true;
            }

    Please excuse us for the inconvenience caused. We are doing our best to provide a fix as soon as possible.

    Kind regards,
    Pavel Pavlov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft banner
  4. Jorn
    Jorn avatar
    222 posts
    Member since:
    Jun 2009

    Posted 12 Mar 2010 Link to this post

    I assume this is not fixed since it doesn't work in the latest Q1 2010 release? Can you give an estimate?
  5. Pavel Pavlov
    Admin
    Pavel Pavlov avatar
    2039 posts

    Posted 18 Mar 2010 Link to this post

    Hi Jorn,

    We are currently working on expanding the tab navigation logic to cover  UIElements  placed inside row details. Since the task requires a major refactoring to the keyboard navigation logic of RadGridView the soonest official release that may contain this internally is the Q2/2010.

    Meanwhile I would recommend using the workaround with placing the row details in a panel which marks the tab key event with handled = true.

    Regards,
    Pavel Pavlov
    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.
  6. Jason Nguyen
    Jason Nguyen avatar
    14 posts
    Member since:
    May 2010

    Posted 01 Jul 2010 Link to this post

    Is this issue now fixed?  From what I have read about the the Q2/2010 beta, it sounds like it should be.  If it is, then what do I need to do to get this in place?  Currently, I replaced the dll my project was referencing, but do I need to do anything else?
  7. Jason Nguyen
    Jason Nguyen avatar
    14 posts
    Member since:
    May 2010

    Posted 01 Jul 2010 Link to this post

    I found one way around this.  On the RadGridView, I set IsTabStop = false (which means the user can't tab through the grid rows) and I set the TabNavigation = Cycle.  I then manually set the IsTabStop on the controls in the details section that I wanted to be able to tab through.
  8. Pavel Pavlov
    Admin
    Pavel Pavlov avatar
    2039 posts

    Posted 02 Jul 2010 Link to this post

    Hi Jason Nguyen,

    We have made some improvements on Tab navigation on Row details but not everything is ready yet.
    Some of them will appear in the Q2 release but the final stable state of this feature  would be released with one of the Q2 service packs. Meanwhile workarounds like yours are the only way to go .

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