First Row Always Selected

2 posts, 0 answers
  1. Alice
    Alice avatar
    3 posts
    Member since:
    Aug 2011

    Posted 22 Sep 2011 Link to this post

    There is a problem described at this link:

    about the first row of a grid always being selected.  This page states that the problem does not occur in version Q2 2010 or later.  However, I have seen the same problem using Q2 2011 SP1, when using Visual Studio 2010 SP1.  The problem does not occur when using Visual Studio 2010 without SP1. 

    The first row is not selected when the page is first displayed, but when I navigate away from the page and then back to it, then the first row of all of the grids on that page are selected, and the SelectionChanged event is being fired.  The grids are within a navigation frame.  We navigate between the frames using a selection from a combo box like this:

    private void RadComboBoxItem_Selected(object sender, RoutedEventArgs e)
        this.navFrame.Navigate(new Uri(((Telerik.Windows.Controls.RadComboBoxItem)sender).Tag.ToString(), UriKind.Relative));

    The workaround stated in the above referenced link (i.e. setting IsSynchronizedWithCurrentItem to false) fixed the problem for us.  But, it doesn't seem like the problem is really resolved as stated in the link.  Again, this only shows up when we use VS 2010 with SP1.  We've built the exact same solution with SP1 and without SP1 and we don't see this behavior without SP1.

  2. Maya
    Maya avatar
    4062 posts

    Posted 28 Sep 2011 Link to this post

    Hello Alice,

    I have tried to reproduce the issue you reported, but still without any success. I defined two RadGridView-s in two separate pages and navigate to each of them forth and back, but in nether case the first item has been selected. Can you take a look at the sample attached to verify whether I am testing the same scenario as yours ? Can you get the same behavior on this project ?

    All the best,
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top