Hello,
I have an old project containing a GridView with a GridViewCheckBoxColumn binded to a bool type data property.
With 2011-Q3 the application works. The checkbox state is set accordingly to
the property value.
Yesterday I have installed 2012-Q1 and I have noted that this column does not
work anymore. Although the data property has a value of "true", the
checkbox is unchecked. If I try to manually check the checkbox, when the cell
loses focus the checkbox is automatically unchecked.
Also, when the cell loses focus and the checkbox is checked, in the Output window the following message is recorded:
"A first chance exception of type 'System.ArgumentException' occurred in System.ComponentModel.DataAnnotations.dll"
Perhaps you can take a look into this problem.
Thank you.
<telerik:RadGridView Name="gridFields" Grid.Row="7" Grid.ColumnSpan="4" ItemsSource="{Binding Path=FieldsConfig}" CanUserReorderColumns="False" AutoGenerateColumns="False" ShowInsertRow="True" RowEditEnded="gridFields_RowEditEnded" AddingNewDataItem="gridFields_AddingNewDataItem" ShowGroupPanel="False" CellValidating="gridFields_CellValidating" Deleting="gridFields_Deleting" IsFilteringAllowed="False" CanUserFreezeColumns="False" CanUserSortColumns="True"> <telerik:RadGridView.Columns> <telerik:GridViewDataColumn Header="Nume camp" UniqueName="Name" DataMemberBinding="{Binding Path=Name}" /> <telerik:GridViewDataColumn Header="Col.CSV" UniqueName="CSVColumn" DataMemberBinding="{Binding Path=CSVColumn}" TextAlignment="Right" /> <telerik:GridViewDataColumn Header="Camp formular web" UniqueName="WebFormFieldName" DataMemberBinding="{Binding Path=FormDataFieldName}" /> <telerik:GridViewCheckBoxColumn Header="Specifica fis.continut" UniqueName="ContainsFilename" DataMemberBinding="{Binding Path=ContainsFilename}" AutoSelectOnEdit="True" EditTriggers="CellClick" /> <telerik:GridViewDataColumn Header="Valoare implicita" UniqueName="DefaultValue" DataMemberBinding="{Binding Path=DefaultValue}" /> </telerik:RadGridView.Columns></telerik:RadGridView>public static readonly DependencyProperty ContainsFilenameProperty = DependencyProperty.Register("ContainsFilename", typeof(bool), typeof(FieldConfigData), new FrameworkPropertyMetadata(false));[XmlIgnore]public bool ContainsFilename{ get { return (bool)GetValue(ContainsFilenameProperty); } set { SetValue(ContainsFilenameProperty, value); }}[XmlAttribute(AttributeName = "is_content_filename")]public byte IsContentFilename{ get { return ContainsFilename ? (byte)1 : (byte)0; } set { ContainsFilename = ((byte)value == 1); }}Hello
I added columns in code and try to order the columns by using
Display Index it not works.
Is there way to control the index of the columns in the grid?
Best regards
Ehud

<telerikGrid:GridViewMaskedTextBoxColumn DataMemberBinding="{Binding SSN, Mode=TwoWay, Converter={StaticResource ssnConverter}}" Header="SSN" EditTriggers="F2" Mask="###-##-####"MaskType="Standard" /> <Style x:Key="SSN_GridViewColumn" TargetType="{x:Type telerik:GridViewMaskedTextBoxColumn}"> <Setter Property="Mask" Value="###-##-####"/> <Setter Property="Header" Value="SSN"/> <Setter Property="MaskType" Value="Standard"/> <Setter Property="EditTriggers" Value="F2"/> </Style>
foreach (var group in AssociatedObject.GroupDescriptors){ var localGroup = (group as GroupDescriptor); AggregateFunctionCollection aggregateFunctions = localGroup == null ? (@group as ColumnGroupDescriptor).Column.AggregateFunctions : aggregateFunctions.Clear(); aggregateFunctions.Add(new CountFunction { Caption = GroupAggregatesName });}Hello,
We are working with Telerik TreeListView control to display hierarchical data. We have a tree with upto 3 levels deep and unable to to maintain the expanded/collapsed state everytime we do a rebind. The tree collapses every-time we save the data and rebind the data back to the control. We have looked at options of manually storing the state (expanded/collapsed nodes) on IsExpandedChanged() and expanding the nodes manually using treeListView.ExpandHierarchyItem(item) after rebind. This doesn’t seem to work as expected.
We also tried the MVVM approach as suggested in the demo but this works only for the first time.
This is an urgent request and any help on this at the earliest would be greatly appriciated.
Thanks,
Mahesh