Share via


CrystalReportViewer.HyperlinkTarget Property

Determines whether the web page will be opened up in a new browser window, or in the existing browser window.

Namespace CrystalDecisions.Web Assembly CrystalDecisions.Web (CrystalDecisions.Web.dll)

Syntax

'Declaration

Public Property HyperlinkTarget As String
public string HyperlinkTarget {get; set;}

Remarks

The values for the target window or frame to load Web page content into must begin with a letter in the range of a to z, except for the following special values, that begin with an underscore:

  • _blank - Renders the content in a new, unframed window.
  • _parent - Renders the content in the immediate frameset parent.
  • _self - Renders the content in the frame with focus.
  • _top - Renders the content in the full, unframed window.

Example

This example shows how to set the HyperlinkTarget property in the CrystalReportViewer control.

'Declaration

    Private Sub SetHyperlinkTarget(ByVal myHyperlinkTarget As String)
      CrystalReportViewer.HyperlinkTarget = myHyperlinkTarget
    End Sub
    private void SetHyperlinkTarget(String target)
    {
      crystalReportViewer.HyperlinkTarget = target;
    }

Version Information

Crystal Reports Basic for Visual Studio 2008

Supported since: Crystal Reports for Visual Studio .NET 2002

See Also

Reference

CrystalReportViewer Class
CrystalReportViewer Members
CrystalDecisions.Web Namespace