Hi there
I have reporting DLL setup up that I reference in my web application.
There is a report type called DefaultCertificate in this class lib, I can change the datasource dynamically, but what I want to do is apply a template at runtime as well.
Some clients will have their own template, but with the same fields. I know there is something like a trdx file that keeps the template? But can't seem to find decent documentation on it.
Long story short:
1. How do I save my current or any other report design to a trdx file
2. How would I apply that trdx file to the certificate at run time?
Thanks.
I have reporting DLL setup up that I reference in my web application.
There is a report type called DefaultCertificate in this class lib, I can change the datasource dynamically, but what I want to do is apply a template at runtime as well.
Some clients will have their own template, but with the same fields. I know there is something like a trdx file that keeps the template? But can't seem to find decent documentation on it.
Long story short:
1. How do I save my current or any other report design to a trdx file
2. How would I apply that trdx file to the certificate at run time?
DefaultCertificate applicantCertificate = new DefaultCertificate();
applicantCertificate.DataSource = application.GetCertificateDetails(applicantID, applicationYear);
//something to do the following?
applicantCertificate.Template = "location of template trdx file";
Thanks.