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

Tab Navigation in RowDetailsTemplate

6 Answers 133 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Lakshmi Satish Kumar Pydipati
Top achievements
Rank 1
Lakshmi Satish Kumar Pydipati asked on 28 Dec 2009, 10:37 AM
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

6 Answers, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 29 Dec 2009, 01:36 PM
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.
0
Trude
Top achievements
Rank 2
answered on 12 Mar 2010, 05:16 PM
I assume this is not fixed since it doesn't work in the latest Q1 2010 release? Can you give an estimate?
0
Pavel Pavlov
Telerik team
answered on 18 Mar 2010, 11:51 AM
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.
0
Jason Nguyen
Top achievements
Rank 1
answered on 01 Jul 2010, 03:31 PM
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?
0
Jason Nguyen
Top achievements
Rank 1
answered on 01 Jul 2010, 08:22 PM
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.
0
Pavel Pavlov
Telerik team
answered on 02 Jul 2010, 09:14 AM
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
Tags
GridView
Asked by
Lakshmi Satish Kumar Pydipati
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Trude
Top achievements
Rank 2
Jason Nguyen
Top achievements
Rank 1
Share this question
or