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

reference -- using telerick.reporting

1 Answer 77 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
William
Top achievements
Rank 1
William asked on 12 Jun 2013, 06:37 PM
I have developed a report in telerick and am trying to

Telerick.Reporting rpt = new telerick.Reporting

After i type the period after Telerick no reporting possibility occurs.  I have tried adding Telerick.Reporting to References which shows no options for telerick.reporting and when i try to add in using no options as well.  I have installed Telerick.Reporting on my machine.

1 Answer, 1 is accepted

Sort by
0
Squall
Top achievements
Rank 1
answered on 13 Jun 2013, 07:40 AM
First its Telerik not Telerick and you have to use your report type or trdx with ReportSource: (http://www.telerik.com/help/reporting/t_telerik_reporting_reportsource.html)

Telerik.Reporting.InstanceReportSource instanceReportSource =
    new Telerik.Reporting.InstanceReportSource();
 
// Assigning the Report object to the InstanceReportSource
instanceReportSource.ReportDocument = new Telerik.Reporting.Examples.CSharp.Invoice();
 
// Adding the initial parameter values
instanceReportSource.Parameters.Add(new Telerik.Reporting.Parameter("OrderNumber", "SO43659"));
OR
Telerik.Reporting.UriReportSource uriReportSource =
    new Telerik.Reporting.UriReportSource();
 
// Specifying an URL or a file path
uriReportSource.Uri = "SampleReport.trdx";
 
// Adding the initial parameter values
uriReportSource.Parameters.Add(new Telerik.Reporting.Parameter("OrderNumber", "SO43659"));

Tags
General Discussions
Asked by
William
Top achievements
Rank 1
Answers by
Squall
Top achievements
Rank 1
Share this question
or