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

2010 Q1 issue

3 Answers 73 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 15 Mar 2010, 02:40 PM
Hi,

I just upgraded to the Q1 release and have an issue with an InvalidCastException issue.  I've looked and couldn't find a breaking changes sheet for this ver so am suprised to get an error (this was working with old 2009 Q3 ver).

For the following code I get a message saying "Unable to cast object of type '<EnumRawData>d___0' to type 'System.Data.DataRow'".

Private Sub locationIDGroupHeader_ItemDataBound(ByVal sender As ObjectByVal e As System.EventArgs) Handles locationIDGroupHeader.ItemDataBound  
 
    Dim section As Telerik.Reporting.Processing.GroupSection = DirectCast(sender, Telerik.Reporting.Processing.GroupSection)  
    Dim row As System.Data.DataRow = DirectCast(section.DataObject.RawData, System.Data.DataRow) 

The error appears on the second line...

Any workarounds?

Regards,

Jon

3 Answers, 1 is accepted

Sort by
0
Hürcan Bulut
Top achievements
Rank 1
answered on 15 Mar 2010, 04:09 PM
Hi *.*,

I have the same problem. How can I get the RawData?

Regards
Hürcan
0
Hürcan Bulut
Top achievements
Rank 1
answered on 15 Mar 2010, 04:25 PM
0
Jon
Top achievements
Rank 1
answered on 15 Mar 2010, 04:42 PM
Nice one Hürcan, fingers crossed that they get a simple resolution quickly.  This one seems to be kind of a bad call. 

Tags
General Discussions
Asked by
Jon
Top achievements
Rank 1
Answers by
Hürcan Bulut
Top achievements
Rank 1
Jon
Top achievements
Rank 1
Share this question
or