ActiveReports 6 Online Help
TargetView Property
Example 

Gets or sets a value that specifies the current target view when SplitView is true.
Syntax
'Declaration
 
Public Property TargetView As TargetView
public TargetView TargetView {get; set;}

Property Value

A TargetView enumeration value that specifies the current view.  The default value is TargetView.FirstView.
Example
private void arv_Load(object sender, System.EventArgs e)
{
    rptDD rpt = new rptDD();
    rpt.Run();
    arv.Document = rpt.Document;
    arv.ReportViewer.SplitView = true;
    arv.ReportViewer.TargetView = DataDynamics.ActiveReports.Viewer6.TargetView.SecondView;
}
Private Sub arv_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles arv.Load
    Dim rpt As New rptDD
    rpt.Run()
    arv.Document = rpt.Document
    arv.ReportViewer.SplitView = True
    arv.ReportViewer.TargetView = DataDynamics.ActiveReports.Viewer6.TargetView.SecondView
End Sub
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ReportViewerObject Class
ReportViewerObject Members
TargetView Enumeration

Send Feedback