Telerik Reporting R1 2017

How to: Add a Bookmark Action

Adding a bookmark action using the Report Designer

  1. In Design view, right-click the report item to which you want to add a link and then click Properties.
  2. In The Properties dialog box for that report item, click Action.
  3. Select Navigate to bookmark. An additional section appears in the dialog box for this option.
  4. In the Target bookmark by Value textbox, type a bookmark or an expression that evaluates to a bookmark.
  5. Click OK
  6. To test the link, run the report and click the report item with the applied Action. For TextBox items, it is helpful to change the style of the text to indicate to the user that the text is a link. For example, change the color to blue and the effect to underline by setting the corresponding Font properties of the TextBox.

Adding a bookmark action programatically

Telerik.Reporting.NavigateToBookmarkAction bookmarkAction1 = new Telerik.Reporting.NavigateToBookmarkAction();
textBox2.DocumentMapText = "MyBookMark";
bookmarkAction1.TargetBookmarkId = "MyBookMark";
textBox1.Action = bookmarkAction1;

See Also