Posted 10 September 2017, 11:41 am ESTHi,
I would like to generate my Report (c1report) on code behind with some specificity and link this report with a c1reoprtviewer.
I search some informations to do that, and I found two options:
- using c1reportviewer.registerdocument et in the makedodelegate function, generate my report and send them via a c1printdocument
- using the property .document of my c1reportviewer to attach my report
the first one works, but the makeDocdelegate is only called where the c1reportviewer is loaded.
and the second doesn't work, the property .document don't exist (is it normal ?)
maybe someone have a better solution ? :)