Forum Post: RE: Telerik CsvDataSource - how do I find it?

  • Thread starter Thread starter Bill Wood
  • Start date Start date
Status
Not open for further replies.
B

Bill Wood

Guest
Thanks for the error message. The issue is that you are trying to use CAST (object, class) with two objects. The second paramter is not the 'instance', but the class reference. Thjis is definitely not 'obvious' if you are not used to OOABL programming and .NET. You had: myDataSource = CAST(report:DataSource, myDataSource ). You want: myDataSource = CAST(report:DataSource, Telerik.Reporting.CvsDataSource ). The code sample in the forum post earlier shows a more complete sample (Look at in in a browser, The content was edited after the post so the email content is out of date)

Continue reading...
 
Status
Not open for further replies.
Back
Top