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

[Solved] Error #4004 after upgrading to Silverlight 3 Controls...

2 Answers 108 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.
mark baer
Top achievements
Rank 1
mark baer asked on 10 Sep 2009, 07:08 PM
I upgraded my development machine to Silverlight 3 and I installed the new Telerik Controls for SL 3.  When I try to run my project, when I bind data to a RadGrid, I get the Sys.InvalidOperationException ManagedRuntimeError error #4004.  It points the line in the xaml where my radgrid resigns.  Here is my RadGrid xaml:

<

 

telerik:RadGridView Name="radGridSoundDetails" >

 

 

 

<telerik:RadGridView.Columns>

 

 

 

<telerik:GridViewDataColumn HeaderText="Track #" Width="75" DataMemberBinding = "{Binding TrackNumber}"></telerik:GridViewDataColumn>

 

 

 

<telerik:GridViewDataColumn HeaderText="Source Roll" Width="100" DataMemberBinding = "{Binding SourceItemId}"></telerik:GridViewDataColumn>

 

 

 

<telerik:GridViewDataColumn HeaderText="Track Type" Width="300" DataMemberBinding = "{Binding TrackType}" ></telerik:GridViewDataColumn>

 

 

 

<telerik:GridViewDataColumn HeaderText="Language" Width="175" DataMemberBinding = "{Binding Language}" ></telerik:GridViewDataColumn>

 

 

 

</telerik:RadGridView.Columns>

 

 

 

</telerik:RadGridView>

Here are my radgrid dll properties:  Telerik.Windows.Controls.GridView(2009.2.701.1020)

Help?  When I upgraded, I uninstalled SL2 SDK, SL 2 Tools and Telerik Controls for SL2.  Then I installed SL3 Tools for VS 2008, and the Telerik Controls for SL3.

Thanks

Mark

 

2 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 11 Sep 2009, 05:38 AM
Hi Mark,

Please send us an example where this can be reproduced. We will review your project and we will let you know how to fix it.

Sincerely yours,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
mark baer
Top achievements
Rank 1
answered on 11 Sep 2009, 10:47 PM
I found it.  I had somehow inadvertantly typed some text in the middle of a Column Definition like this:

<telerikGridView

 

:GridBADTEXTViewDataColumn HeaderText="mark">

instead of:

<telerikGridView:GridViewDataColumn HeaderText="mark">

Took forever to find it.  The error code didn't point to this line in the xaml...That probably would have helped...Once I removed the grids and started adding them back, I noticed the syntax error...ugh...At least it's fixed.  Sorry to bother you guys with this one.

Mark

 

Tags
GridView
Asked by
mark baer
Top achievements
Rank 1
Answers by
Vlad
Telerik team
mark baer
Top achievements
Rank 1
Share this question
or