Hi,
Forgive me if this has already been answered in this forum already. I could not find it.
Is it possible to know if the environment is in report preview mode versus actually running a report?
I'd like to do something like this in the report class, derived from Telerik.Reporting.Report:
....
if ( InReportDesignPreviewMode )
{
Forgive me if this has already been answered in this forum already. I could not find it.
Is it possible to know if the environment is in report preview mode versus actually running a report?
I'd like to do something like this in the report class, derived from Telerik.Reporting.Report:
....
if ( InReportDesignPreviewMode )
{
this
.DataSource = MyBusinessClass.LoadTestData();
}
else
{
this.DataSource = MyBusinessClass.LoadRealData();
}
...
I did try this.DebugMode() and it didn't behave as I thought it would.
Thanks for your input on this matter.
Michael