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

[Solved] (Possible) Navigation Conflict between RadGridView and RadComboBox

1 Answer 104 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
joao rodrigues
Top achievements
Rank 1
joao rodrigues asked on 28 Sep 2010, 05:34 PM
Hi,

Ver: 2010.2.924.1040

I'm having a strange behavior navigating with tab in a gridview IN EDIT MODE  with a column that has a radcombobox as CellEditTemplate.
If I open the dropdown  (with mouse) and hit tab the focus leaves the grid and was suposed to go to next cell.

I've upgrade the controls today and I think that this behaviour was not happening in previous version. 

Here Is the code:
<Grid x:Name="LayoutRoot">
        <telerik:RadGridView x:Name="grdOrders" Grid.Row="0"
                    AutoGenerateColumns="False"
                    ShowGroupPanel="False"
                    CanUserFreezeColumns="False"
                    CanUserReorderColumns="False"
                    CanUserSortColumns="False" IsFilteringAllowed="False" EditTriggers="CellClick" CanUserDeleteRows="True" CanUserInsertRows="False">
            <telerik:RadGridView.Columns>
                <telerik:GridViewDataColumn Header="Combo" >
                    <telerik:GridViewColumn.CellEditTemplate>
                        <DataTemplate>
                            <telerik:RadComboBox
                                ItemsSource="{Binding Path=list}"
                                SelectedItem="{Binding Path=prop,Mode=TwoWay}"
                                IsEditable="True"
                                IsReadOnly="False"
                                TextSearchMode="Contains"
                                FilteringMode="Contains"
                                IsFilteringEnabled="True"
                                OpenDropDownOnFocus="True"/>
                        </DataTemplate>
                    </telerik:GridViewColumn.CellEditTemplate>
                </telerik:GridViewDataColumn>
                <telerik:GridViewDataColumn Header="Text" DataMemberBinding="{Binding Path=prop, Mode=TwoWay}" />
            </telerik:RadGridView.Columns>
        </telerik:RadGridView>
    </Grid>

Behing :

public partial class MainPage : UserControl
   {
       public MainPage()
       {
           InitializeComponent();
           grdOrders.ItemsSource = new List<A> { new A { prop = "A" }, new A { prop = "B" }, new A { prop = "C" }, new A { prop = "D" } };
       }
   }
 
   public class A
   {
       public string prop {get;set;}
       public List<string> list { get; set; }
       public A()
       {
           list = new List<string> { "ABC","BCD","CDE","DEF"};
       }
   }

Could you help me here ?

Thanks,
Joao

1 Answer, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 29 Sep 2010, 02:15 PM
Hello joao rodrigues,

Indeed, the behavior you get is not the expected one. However, we have already fixed that issue and it will be available in our Latest Internal Build this Friday. You can download it from your Telerik Account then.
 

Sincerely yours,
Maya
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
joao rodrigues
Top achievements
Rank 1
Answers by
Maya
Telerik team
Share this question
or