hello
i want to set the documentname as default name for download depending on the data i pass to the report.
i tried the following methods but without success:
1. to use a parameter in the constructor (not possible because in the constructor the parameters are not initalized),
2. use the datasource and a property of datasource(also not possible)
3. use a constructor with string parameter but the emtpy constructor is called afterwards and the documentname is still ""
4. set the documentname in prerender or pageload with a public method
how can i set the document name to a variable so the default download name appears correctly?
i want to set the documentname as default name for download depending on the data i pass to the report.
i tried the following methods but without success:
1. to use a parameter in the constructor (not possible because in the constructor the parameters are not initalized),
2. use the datasource and a property of datasource(also not possible)
3. use a constructor with string parameter but the emtpy constructor is called afterwards and the documentname is still ""
4. set the documentname in prerender or pageload with a public method
how can i set the document name to a variable so the default download name appears correctly?