AlternateRowBackground no longer works with 2010 q2 controls

3 posts, 0 answers
  1. Matt Greer
    Matt Greer avatar
    30 posts
    Member since:
    May 2010

    Posted 28 Sep 2010 Link to this post

    I had AlternateRowBackground working great on my RadGridViews. I noticed a while back it no longer works, but never gave it much thought. Now that I am investigating it, I see this looks like it is a  breaking change in the 2010 SP2 controls. Has anyone else encountered this? Is there anything I can do to resolve this?

    In a brand new Silverlight Project with only this UserControl, the alternate color briefly appears as the grid loads up, then gets covered with white.

    <UserControl
        mc:Ignorable="d"
        x:Class="SilverlightApplication1.UserControl1"
        d:DesignWidth="640" d:DesignHeight="480">
        <Grid x:Name="LayoutRoot">
            <telerik:RadGridView x:Name="_grid" Width="400" Height="300" AlternateRowBackground="Red" AlternationCount="2" />
        </Grid>
    </UserControl>

    And my code behind is innocent:

    namespace SilverlightApplication1
    {
        public partial class UserControl1 : UserControl
        {
            public UserControl1()
            {
                // Required to initialize variables
                InitializeComponent();
     
                _grid.ItemsSource = Enumerable.Range(5, 10);
            }
        }
    }


    Video illustrating the problem:
    http://www.youtube.com/watch?v=SvIjj2ggvxw

    I am using Windows 7 Professional 64 bit
    IE8 8.0.7600.16385
    Silverlight 4, 4.0.50826.0
    Telerik controls version 2010.2.812.1040


    IE Specific bug
    This bug is specific to IE. In Chrome 6 on WIndows the alternate rows show up just fine. I know IE is not the greatest browser, but you guys need to test your stuff out in it every once in a while :) This is the second bad IE specific bug I have found (the other being the RadTreeView drag and drop reported in the TreeView forum).
  2. Matt Greer
    Matt Greer avatar
    30 posts
    Member since:
    May 2010

    Posted 28 Sep 2010 Link to this post

    I have found the reason for this issue. My IE was set to 120% zoom somehow. In fact you can even see the 120% zoom setting in the lower right corner of my video.

    Setting it back to 100% zoom fixes this issue. The alternating rows appear as expected.

    I would still argue this is a bug, but a much less serious one than I at first thought.
  3. Yordanka
    Admin
    Yordanka avatar
    634 posts

    Posted 29 Sep 2010 Link to this post

    Hi Matt Greer,

    We had different problems in RadGridView when browser zooming is used, but they are already fixed. If you upgrade to our latest version - Q2 2010 SP2 (.0924), the problem with AlternationRowBackground will no longer exist.

    Greetings,
    Yordanka
    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