How to set focus on cell ?

2 posts, 1 answers
  1. Juan
    Juan avatar
    13 posts
    Member since:
    Jun 2010

    Posted 21 Jul 2010 Link to this post

    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">
               <TextBox  Text="{Binding Name, Mode=TwoWay}" TextChanged="TextBox_TextChanged" VerticalAlignment="Center" />
  2. Answer
    Yavor Georgiev
    Yavor Georgiev avatar
    982 posts

    Posted 21 Jul 2010 Link to this post

    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
Back to Top