ActiveReports 18 .NET Edition
Report Authors / Design Reports / Design Section Reports / Interactivity / Hyperlinks
In This Topic
    Hyperlinks
    In This Topic

    In Section reports, you can set the HyperLink property available with the LabelTextBox, and Picture controls that allow you to add hyperlinks that connect to a Web page. You can use the HyperLink property to open an e-mail or jump to a bookmark.

    You can also use any URI scheme in the HyperLink property of the controls mentioned above. For the full list of URI schemes, see Uniform Resource Identifier (URI) Schemes.

    Hyperlinks are supported when you preview a Section report and export a report in HTMLPDFRTF, and Excel formats.

    Note: We recommend that you specify the full URL address (for example, "https://developer.mescius.com") for the Hyperlink property to avoid broken links while viewing reports.

    Link to a Web page

    1. Select an existing control or drag and drop a control from the Toolbox onto the design surface.
    2. In the Properties Panel, set the HyperLink property to any valid URL. For example, https://developer.mescius.com.
      Alternatively, you can set the HyperLink property in the control dialog that appears by clicking the Property dialog link under Properties.

    Link to an e-mail address

    1. Select an existing control or drag and drop a control from the Toolbox onto the design surface.        
    2. In the Properties Panel, set the HyperLink property to mailto: any valid e-mail address.
      Alternatively, you can set the HyperLink property in the control dialog that appears by clicking the Property dialog link under Properties.

    Create a hyperlink that jumps to a bookmark

     Hyperlink that jumps to a bookmark

    1. Let's first create bookmarks to predefined page. Follow the steps on Add bookmarks to a predefined page
    2. Add a report header where we will place a text box to contain the hyperlink.
    3. Drag-drop a TextBox control onto the ReportHeader section.
    4. With the Textbox control selected, click the Property dialog link to open the control's properties.
    5. On the General page, set the Text to 'Go to page 3' and the Hyperlink to 'TOC://Page3'.