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

RadGridView with RadNumericUpDown controls

1 Answer 88 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Martin
Top achievements
Rank 1
Martin asked on 10 Feb 2009, 07:39 PM
Hello,

I believe I may have discovered a bug with the mousewheel scroll on RadNumericUpDown controls inside of a RadGridView. Here is some example code:

<Window x:Class="RadGridViewBug.Window1" 
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:t="http://schemas.telerik.com/2008/xaml/presentation" 
    Title="Window1" Height="300" Width="300"
  <StackPanel> 
    <t:RadGridView x:Name="grid" Height="300"/> 
  </StackPanel> 
</Window> 

    public partial class Window1 : Window 
    { 
        public Window1() 
        { 
            InitializeComponent(); 
            TestRow[] rows = new TestRow[2]; 
            rows[0] = new TestRow(); 
            rows[1] = new TestRow(); 
            grid.ItemsSource = rows; 
        } 
    } 
 
    class TestRow 
    { 
        public RadNumericUpDown updown1 { getset; } 
        public RadNumericUpDown updown2 { getset; } 
 
        public TestRow() 
        { 
            updown1 = new RadNumericUpDown(); 
            updown2 = new RadNumericUpDown(); 
        } 
    } 

When I run that code, if I press up or down on a couple of the RadNumericUpDown controls and then use the mousewheel to scroll them, the values of them all change instead of just the last one I clicked on. I would expect only the last one I clicked on to change while scrolling the middle mouse wheel. Thanks in advance for your response!


1 Answer, 1 is accepted

Sort by
0
Valeri Hristov
Telerik team
answered on 11 Feb 2009, 12:36 PM
Hi Martin,

I was able to reproduce the problem. It is a bug, that will be fixed in our next release, scheduled for the beginning of March.

Best wishes,
Valeri Hristov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
GridView
Asked by
Martin
Top achievements
Rank 1
Answers by
Valeri Hristov
Telerik team
Share this question
or