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

applying the best practice approach

1 Answer 48 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mazen Bteddini
Top achievements
Rank 1
Mazen Bteddini asked on 26 Dec 2010, 03:00 PM
hi,

i'm applying the best practice approach for the telerik reporting in which they being put in separate c# project. i could access them from the web application be getting assembly info...like this:

var reportAssembly = AppDomain.CurrentDomain
                     .GetAssemblies()
                     .Where(x => x.GetName().Name == REPORT_NAMESPACE).FirstOrDefault();
                    Type reportType = reportAssembly.GetType(rptInfo.ReportClassName);
                    var report = (Report)Activator.CreateInstance(reportType);
                    report.DataSource = results;

but after publishing the report not showing so can you provide full demo for best way for applying that!

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 30 Dec 2010, 12:43 PM
Hi Mazen Bteddini,

The code you've posted looks correct, so we would need more info on what exactly is the problem. You can start off by reviewing the Deploying Applications using Telerik Reporting help section in order to verify that you've deployed it correctly.

Kind regards,
Steve
the Telerik team
Get started with Telerik Reporting with numerous videos and detailed documentation.
Tags
General Discussions
Asked by
Mazen Bteddini
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or