This question is locked. New answers and comments are not allowed.
Hi,
We recently deployed version 2010.2.924.1040 (Q2) of the Web UI Silverlight tools. In the previous version 2010.1.603.1040, when we set CanUserSelect=false, with SelectionMode=Extended or Multiple, selecting the 'Select All' checkbox in the GridViewSelectColumn header would select all of the records on the page. Now with the Q2 version, 'select all' no longer selects all the records, nor does it deselect all the records when I uncheck it. The first time I load the page, clicking 'select all' only selects the first record (regardless if IsSynchronizedWithCurrentItem is true or false). To the contrary, if I individually select/check each record, 'select all' gets checked when i select all of the records and it unchecks itself as soon as I deselect one.
This appears to be a bug. I can attach a sample project demonstrating this behavior if necessary but here is the code from my xaml and code behind:
XAML:
Code Behind:
We recently deployed version 2010.2.924.1040 (Q2) of the Web UI Silverlight tools. In the previous version 2010.1.603.1040, when we set CanUserSelect=false, with SelectionMode=Extended or Multiple, selecting the 'Select All' checkbox in the GridViewSelectColumn header would select all of the records on the page. Now with the Q2 version, 'select all' no longer selects all the records, nor does it deselect all the records when I uncheck it. The first time I load the page, clicking 'select all' only selects the first record (regardless if IsSynchronizedWithCurrentItem is true or false). To the contrary, if I individually select/check each record, 'select all' gets checked when i select all of the records and it unchecks itself as soon as I deselect one.
This appears to be a bug. I can attach a sample project demonstrating this behavior if necessary but here is the code from my xaml and code behind:
XAML:
<UserControl x:Class="RadGridTestApp_DELETEME.MainPage" xmlns:telerikGrid="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.GridView" mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="400"> <Grid x:Name="LayoutRoot" Background="White"> <telerikGrid:RadGridView Name="Results" CanUserSelect="False" SelectionMode="Multiple" > <telerikGrid:RadGridView.Columns> <telerikGrid:GridViewSelectColumn x:Name="SelectColumn"/> <telerikGrid:GridViewDataColumn Header="TEST COLUMN" IsReadOnly="True" DataMemberBinding="{Binding TestValue}" /> </telerikGrid:RadGridView.Columns> </telerikGrid:RadGridView> </Grid> </UserControl> Code Behind:
using System.Collections.Generic; using System.Windows.Data; namespace RadGridTestApp_DELETEME { public partial class MainPage { public MainPage() { InitializeComponent(); var entityList = new List<ListItem> { new ListItem { TestValue = "ABC" }, new ListItem { TestValue = "DEF" } }; Results.ItemsSource = new PagedCollectionView(entityList); } } public class ListItem { public string TestValue { get; set; } } } 