Dynamicweb 8 Documentation
PageView Class
Members  Example 

The pageview object represents the current frontend pageview, the object that handles Default.aspx and all frontend page views.
Object Model
PageView ClassArea ClassContent ClassParagraph ClassExecutionTable ClassItem ClassObject ClassMeta ClassPage ClassSecurity ClassTemplate ClassTemplate ClassExtranet Class
Syntax
'Declaration
 
Public Class PageView 
public class PageView 
Remarks
Use the PageView.Current to access the instance from any code block that is run in the pageview context.
Example
How to access the pageview instance
//Get current instance
 Dynamicweb.Frontend.PageView pv = Dynamicweb.Frontend.PageView.Current();
 
 //Change properties on the PageView object
 pv.Meta.Title = "New title";
How to access the pageview instance
'Get current instance
 Dim pv As Dynamicweb.Frontend.PageView = Dynamicweb.Frontend.PageView.Current
 
 'Change properties on the PageView object
 pv.Meta.Title = "New title"
Inheritance Hierarchy

System.Object
   Dynamicweb.Frontend.PageView

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

PageView Members
Dynamicweb.Frontend Namespace

Send Feedback