My boss and I created a custom report resolver that works on his machine but not mine.
The ResolveReport() method is not called on my machine. We've got the exact same code.
Could you give us any hint to try and debug this issue?
Regards
public
class
ReportsController : ReportsControllerBase
{
public
ReportsController()
{
this
.ReportServiceConfiguration =
new
ReportServiceConfiguration()
{
ReportResolver =
new
CustomReportResolver(),
Storage =
new
Telerik.Reporting.Cache.File.FileStorage()
};
}
}
public
class
CustomReportResolver : ReportResolverBase
{
protected
override
ReportSource ResolveReport(
string
report)
{
TypeReportSource _ReportSource =
new
TypeReportSource()
{
TypeName =
typeof
(MADashboard).AssemblyQualifiedName
};
return
_ReportSource;
}
}