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

InstanceReportSource

5 Answers 447 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Leo
Top achievements
Rank 1
Leo asked on 24 Sep 2012, 06:38 PM
Hi,

I am new to Telerik and I am following the code posted on your website related to adding reports to a website.  However, when I run this code:

Dim instanceReportSource As New Telerik.Reporting.InstanceReportSource()
            instanceReportSource.ReportDocument = New ListBoundReport()
            ReportViewer1.ReportSource = instanceReportSource

I get an error message saying that 'Type Telerik.Reporting.InstanceReportSource is not defined'.  I have my reference to Telerik.Reporting.  I was wondering if you can help me figure what I am missing.

Thank you,
Leo

5 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 26 Sep 2012, 03:50 PM
Hi Leo,

ReportSources have been introduced in the Q2 2012 version of Telerik Reporting. If you're using a version prior to Q2 2012, then please download the respective offline documentation (.chm file) from your account.

Greetings,
Steve
the Telerik team

BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

0
Leo
Top achievements
Rank 1
answered on 27 Sep 2012, 05:25 PM
Thank you for your answer Steve.  One more question though.  In Crystal reports we have this kind of code:

'CrystalReportSource1.Report.FileName'

How would I accomplish that with Telerik?

Thanks in advance.
0
Accepted
Steve
Telerik team
answered on 28 Sep 2012, 07:45 AM
Hi Leo,

The UriReportSource allows you to specify an URL or a file path for XML report definition (.trdx).

Regards,
Steve
the Telerik team

BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

0
Leo
Top achievements
Rank 1
answered on 28 Sep 2012, 05:47 PM
Thanks a lot Steve.
0
illumination
Top achievements
Rank 2
answered on 02 Oct 2012, 08:21 PM
I have the same problem with the ListBoundReport error. What was the reply of the solution?
Tags
General Discussions
Asked by
Leo
Top achievements
Rank 1
Answers by
Steve
Telerik team
Leo
Top achievements
Rank 1
illumination
Top achievements
Rank 2
Share this question
or