Dynamicweb 8 Documentation
PageviewControl Class
Members  Example 

A System.Web.UI.Control representation of the pageview object
Object Model
PageviewControl ClassPageView Class
Syntax
'Declaration
 
Public Class PageviewControl 
   Inherits System.Web.UI.Control
public class PageviewControl : System.Web.UI.Control 
Remarks
Used from Default.aspx.vb/cs to render the frontend as a control so other controls, like .ascx, can be loaded using @LoadControl() template tag.
Example
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
	Dim pvCtl As New PageviewControl
	Output.Controls.Add(pvCtl)
End Sub
Inheritance Hierarchy

System.Object
   System.Web.UI.Control
      Dynamicweb.Frontend.PageviewControl

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

PageviewControl Members
Dynamicweb.Frontend Namespace

Send Feedback