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

Set connectionId exception in radgridview

3 Answers 532 Views
GridView
This is a migrated thread and some comments may be shown as answers.
josephine shirley
Top achievements
Rank 1
josephine shirley asked on 23 Sep 2010, 10:14 AM
Hi,

Im using radgridview in a user control and on trying to add the usercontrol at runtime to the main window leads to the following error .
Please let me know the reason for getting the error in the radgridview declaration statement in xaml.


EXCEPTION

'Set connectionId threw an exception.' Line number '63' and line position '22'.

INNER EXCEPTION

{"[A]Telerik.Windows.Controls.RadGridView cannot be cast to [B]Telerik.Windows.Controls.RadGridView. Type A originates from 'Telerik.Windows.Controls.GridView, Version=2010.2.714.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' in the context 'LoadFrom' at location 'C:\\....\\Telerik.Windows.Controls.GridView.dll'. Type B originates from 'Telerik.Windows.Controls.GridView, Version=2010.2.714.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' in the context 'Default' at location 'C:\\....\\Telerik.Windows.Controls.GridView.dll'."}

3 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 23 Sep 2010, 03:10 PM
Hi,

 I've never seen such problem before. Can you send us an example where we can reproduce this?

Greetings,
Vlad
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
santosh
Top achievements
Rank 1
answered on 19 Oct 2010, 02:07 PM
Hi,

I think resion behind above problem may be that he is using the different versions of telerik assemblies.
I am also facing the same problem and its giving me the following exception details.
"Set connectionId threw an exception -
Could not load file or assembly 'Telerik.Windows.Data, Version=2010.1.422.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)":"Telerik.Windows.Data, Version=2010.1.422.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7"

I am using Telerik.Windows.Data.dll (version 2010.2.610.40) and Telerik.Windows.Controls.GridView.dll(version 2010.1.422.35) assemblies.Both these assemblies are of different version.
Can you please let me know where should i find the Telerik.Windows.Controls.GridView.dll with version 2010.2.610.40.

Thanks
Santosh Lokhande.
0
Hristo
Telerik team
answered on 19 Oct 2010, 03:41 PM
Hello santosh,

Telerik.Windows.Data.dll with version 2010.2.610.40 was never officially released from Telerik. Most probably you have it from a custom build of RadControls for WPF source code. Hence, we cannot provide you with such version for Telerik.Windows.Controls.GridView.dll.
 
Please try with our latest official version 2010.2.924 and let us know if you face any problems.

Sincerely yours,
Hristo
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
josephine shirley
Top achievements
Rank 1
Answers by
Vlad
Telerik team
santosh
Top achievements
Rank 1
Hristo
Telerik team
Share this question
or