Conditionally show Watermark (on every page)

1 Answer 13 Views
Report Designer (standalone) Report Viewer - MVC
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Stefan asked on 25 Jun 2025, 01:35 PM

Currently we're using a pictureBox as a Watermark, but this only shows on the first page of the record.

We also created a binding to show/hide the image.

 

When using a real Watermark it is correctly displayed on every page, but we cannot add a binding to conditionally show/hide it.

 

How can we implement a Watermark that both is displayed on every page, but also is only shown on a specific condition?

 

Kind regards.

1 Answer, 1 is accepted

Sort by
0
Ivet
Telerik team
answered on 27 Jun 2025, 03:01 PM

Hi Stefan,

Thank you for reaching out.

The Watermark feature in the report's PageSettings is designed to render on every page. However, it cannot directly bind to data fields from your data source. You can only control its visibility using report parameters or expressions based on the rendering format.

If your condition for displaying the watermark is global (for example, based on a report parameter), you can use an expression to conditionally show or hide the watermark. This will display the watermark on every page only if the parameter evaluates to true. This approach does not support per-record conditions, only global ones.

If your requirement is to show/hide the watermark based on data fields (per record), this is not supported by the PageSettings.Watermark property, due to its global scope.

As a workaround, you can use a PictureBox or background image in the report sections, with bindings to your data fields. However, these will not behave exactly like a page-level watermark and may only appear on certain pages, depending on the layout and paging.

I hope the above information will be useful. Let me know if you have other questions.

Regards,
Ivet
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Report Designer (standalone) Report Viewer - MVC
Asked by
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Ivet
Telerik team
Share this question
or