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

How to set focus on cell ?

1 Answer 63 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
Juan
Top achievements
Rank 1
Juan asked on 21 Jul 2010, 10:59 AM
Hi. I have TreeListView with textBox controls as DataTemplate. When I press Enter button in TextBox next item's cell in TreeViewList should be focused. How to set focus on it ?
<local:RadColumn Header="Name" IsEditable="True">
 <local:RadColumn.CellTemplate>
      <DataTemplate>
           <TextBox  Text="{Binding Name, Mode=TwoWay}" TextChanged="TextBox_TextChanged" VerticalAlignment="Center" />
      </DataTemplate>
       </local:RadColumn.CellTemplate>
         </local:RadColumn>

1 Answer, 1 is accepted

Sort by
0
Accepted
Yavor Georgiev
Telerik team
answered on 21 Jul 2010, 04:13 PM
Hi Juan,

It appears you're using an old version of our TreeListView control. In our 2010 Q2 version we released a new TreeListView, based on our GridView. This new TreeListView automatically focuses the next cell when you press Enter when editing. My advise is to upgrade.

All the best,
Yavor Georgiev
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
TreeListView
Asked by
Juan
Top achievements
Rank 1
Answers by
Yavor Georgiev
Telerik team
Share this question
or