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

Errors since Q3 2012 SP1

2 Answers 50 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Alan
Top achievements
Rank 2
Alan asked on 03 Dec 2012, 04:39 PM
I have the following RadGridView defined (using .NET 4.5):

<telerik:RadGridView
                                 ScrollMode="Deferred"
                                 ColumnWidth="Auto"
                                 ActionOnLostFocus="None"
                                 AutoExpandGroups="False"
                                 SelectionMode="Extended"
                                 AutoGenerateColumns="False"
                                 EditTriggers="F2"
                                 IsSynchronizedWithCurrentItem="True"
                                 SelectionUnit="Mixed"
                                 ClipboardPasteMode="Default,AllSelectedCells,OverwriteWithEmptyValues"
                                    >
            <telerik:RadGridView.ChildTableDefinitions>
                <telerik:GridViewTableDefinition/>
            </telerik:RadGridView.ChildTableDefinitions>
           <telerik:RadGridView.HierarchyChildTemplate>
                <DataTemplate>
                 ...
               </DataTemplate>
            </telerik:RadGridView.HierarchyChildTemplate>
</telerik:RadGridView>

As of Q3 2012 SP1, I get the following two errors:

  1. The local property "IsSynchronizedWithCurrentItem" can only be applied to types that are derived from "DataControl".
  2. The specified value cannot be assigned to the collection. The following type was expected: "TableDefinition".

Any suggestions on how to resolve this?

Thank you.

2 Answers, 1 is accepted

Sort by
0
Accepted
Dimitrina
Telerik team
answered on 04 Dec 2012, 04:13 PM
Hi,

I have tested your code snippet in a WPF 4.5 project but I were not able to encounter any problems. May I ask you to please make sure you have referenced the correct references, Clean your project, then Rebuild and try again?

Regards,
Didie
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Alan
Top achievements
Rank 2
answered on 04 Dec 2012, 04:22 PM
That worked. Thank you.
Tags
GridView
Asked by
Alan
Top achievements
Rank 2
Answers by
Dimitrina
Telerik team
Alan
Top achievements
Rank 2
Share this question
or