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

[Solved] Error msg when insert columns into the gridview

1 Answer 134 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Duy
Top achievements
Rank 1
Duy asked on 24 Jul 2009, 05:56 AM
Hi,

inside my gridview with the definition columns,

 

 

<Grid x:Name="LayoutRoot">

 

 

 

<telerikGridView:RadGridView>

 

 

 

<telerikGridView:RadGridView.Columns>

 

 

 

</telerikGridView:RadGridView.Columns>

 

 

 

</telerikGridView:RadGridView>

 

 

 

</Grid>

and I get compile error message
The "ValidateXaml" task failed unexpectedly.  System.IO.FileNotFoundException:  Could not load file or assembly 'System, Version=2.0.5.0, Culture=neutral, PublicKey Token= 7cec85d7bea7798e' or one of its dependencies. etc.

If I remove the columns definition then it compiles successful.

 

<Grid x:Name="LayoutRoot">

 

 

 

<telerikGridView:RadGridView>

 

 

 

 

 

 

 

</telerikGridView:RadGridView>

 

 

 

</Grid>

Currently, I have silverlight 3 & Radcontrol Q 2.  May I have your suggestion?

Regards,

Duy

 

 

1 Answer, 1 is accepted

Sort by
0
Missing User
answered on 24 Jul 2009, 12:25 PM

Hello Duy ,

Our Q2 release is built against Silverlight 2. 

The problem you are describing could appear if the project uses the standard System.Windows.Controls.Data.dll library
(Location: C:\Program Files\Microsoft SDKs\Silverlight\v3.0\Libraries\Client\System.Windows.Controls.Data.dll  Name: System.Windows.Controls.Data, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35) and our Q2 2009 binaries for SL2.

So you can remove the reference to the System.Windows.Controls.Data.dll and check if it is ok.
Alternatively, you can use our Silverlight 3.0 compatible version which is uploaded here.

Kind regards,

Anastasia
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
GridView
Asked by
Duy
Top achievements
Rank 1
Answers by
Missing User
Share this question
or