Completed
Last Updated: 11 Jun 2021 18:09 by ADMIN
Release R2 2021 SP1
Martin Ivanov
Created on: 08 Jun 2021 10:59
Category: GridView
Type: Bug Report
1
GridView: Error appears when the ControlPanelItemCollection is used in XAML and GridView and Data Telerik dlls are referenced

If you reference both Telerik.Windows.Controls.GridView and Telerik.Windows.Controls.Data assemblies and you try to access the ControlPanelItemCollection class in XAML using the "telerik" schema, an error appears. This happens because classes with this name are available in both assembly and both classes are mapped to the "telerik" schema.

To work this around, use a concrete namespace instead of the "telerik" schema. For example:

 xmlns:gridView="clr-namespace:Telerik.Windows.Controls.GridView;assembly=Telerik.Windows.Controls.GridView"

0 comments