is there any possibility to use the report Parameter or the value of a filed as a report name?
the DocumentName is a fixed Name while i want to have something like date or ….
1 Answer, 1 is accepted
answered on 14 Dec 2018, 11:43 AM
I noticed that you have opened a support ticket on the same question, please let me share my answer here as well: "This could be done using the Report.DocumentNameproperty that defines the file name when exporting a report. A String that starts with "=" is interpreted as an expression to evaluate the document name; otherwise it is interpreted as a literal string. The expression cannot contain any data fields. Note that this property value is not used when exporting from the Standalone report designer, where the report filename will be used instead.
I suggest to check our demo report Product Line Sales that uses an expression to set this property. The report could be tested online at Product Line Sales Demo. Note that the suggested file name depends on the chosen parameter values. The report definition could be found in default Telerik Reporting installation folder. For example C:\Program Files (x86)\Progress\Telerik Reporting <VERSION>\Report\Designer\Examples as a .trdp file.
The alternative CSharp\VB versions of the report definition are available inC:\Program Files (x86)\Progress\Telerik Reporting <VERSION>\Examples\CSharp, in the project (CSharp/VB).ReportLibrary -> ProductLineSales folder."
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Feedback Portal
and vote to affect the priority of the items