How do I set up conditional formatting on a watermark?
I only want the watermark to display when a field value = "Official" (This will place a "Official Copy" watermark on the report. )
The report is ignoring the conditional formatting rule and inserting the watermark.
1 Answer, 1 is accepted
0
Katia
Telerik team
answered on 11 Oct 2016, 12:17 PM
Hi Maxim,
Watermarks are part of report's page settings and cannot use data fields directly as the data is not available at the time of the paging - Report Life Cycle.
You can use PageExec data functionwhich will evaluate the aggregate function in the context of the physical page, for example:
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? Explore the Telerik Feedback Portal and vote to affect the priority of the items
HOW can we use a field for a conditional Watermark? This is a high-priority question as it is a core part of any reporting system in the real world.
Todor
Telerik team
commented on 01 Dec 2023, 02:26 PM
Hi Greg,
As already explained in the ticket you opened on the same issue, you need to use a Report Parameter. Here is the summary of my reply that may be beneficial for other Telerik Reporting users as well:
I suggest using a Report Parameter for setting the Expression for the Text of the Watermark. The reason is that the fields are not available in the Report PageSettings in run-time as the Report doesn't have a parent data item - see Data Items Overview for more details.
You may set the DataSource that contains the corresponding field to the Report Parameter AvailableValues.