Dynamicweb 8 Documentation
PageView Class Members
Properties  Methods 


The following tables list the members exposed by PageView.

Public Constructors
 NameDescription
Public ConstructorPageView ConstructorInitializes a new instance of the PageView class.  
Top
Public Properties
 NameDescription
Public PropertyAreaThe instance of Area/website of this instance of pageview object.  
Public PropertyAreaCollectionGets the collection of all Areas. Not pageview dependant.  
Public PropertyAreaIDThe ID of the Area or website of this instance of pageview object.  
Public PropertyContentGets the content object that handles rendering of paragraphs. Deprecated.  
Public PropertyContentIDThe ID of the page from which content is showed. Used for page shortcuts without redirect.  
Public PropertyCurrentParagraphGets the current paragraph being rendered.  
Public PropertyDeviceGets the device.  
Public PropertyExecutionGets the ExecutionTable of the pageview. Used internally to measure time spend on renderers.  
Public PropertyExperimentTrackerGets the experiment tracker if this page has a split test experiment available.  
Public PropertyExperimentVariationGets the experiment variation of this pageview if the page has experiments.  
Public PropertyHtmlVersionGets the HTML version. Can be either html4, xhtml1 and html5. Influences the rendering of image tags, tables in form modules and other html version specific rules.  
Public PropertyIDPage ID of this instance of pageview object.  
Public PropertyIsXhtmlGets a value indicating whether this instance of the pageview is XHTML or HTML 5.  
Public PropertyItemGets the item of the current page.  
Public PropertyMetaGets the Meta instance of the current pageview object.  
Public PropertyPageThe instance of Page of this instance of pageview object.  
Public PropertyPageCollectionGets the collection of all Pages. Not pageview dependant.  
Public PropertyPlatformGets the platform.  
Public PropertyRedirectGets or sets a value indicating whether this PageView are allowed to do redirect.  
Public PropertySearchFriendlyUrlGets the search friendly URL for this instance of the pageview.  
Public PropertySecurityGets the security object which handles extranet functionality.  
Public PropertyStatusTextGets a stringbuilder to add status texts to. Displayed in bottom of output html.  
Public PropertyTemplateMasterGets the instance of the template object of the page template values. Deprecated.  
Public PropertyTemplatePageGets the instance of the template object of the master template values. Deprecated.  
Public PropertyUseLayoutGets a value indicating whether this instance of the pageview object uses layout.  
Public PropertyUserGets or sets the extranet user.  
Public PropertyValueGets or sets values of the pageview object.  
Top
Public Methods
 NameDescription
Public MethodAddJavascriptAdds a javascript path to the pages scripts section in head.  
Public MethodAddStylesheetOverloaded. Adds a stylesheet path to the pages stylesheets section in head.  
Public Methodstatic (Shared in Visual Basic)CurrentGets the PageView object of the current pageview. This can only be called in a frontend context.  
Public Methodstatic (Shared in Visual Basic)GetPageviewRetrieves a top-level pageview instance for use in backend context. Use PageView.Current for accessing the pageview instance in a frontend context.  
Public Methodstatic (Shared in Visual Basic)GetPageviewByPageIDRetrieves an instance of the pageview of page specified by page ID. Use PageView.Current for accessing the pageview instance in a frontend context.  
Public MethodInitializeInitializes a new instance of the PageView class. Usually Dynamicweb handles this.  
Public MethodLoadLoads the PageView object with data. Usually Dynamicweb handles this.  
Public MethodOutputExecutes the pageview and parses all templates with content, modules and navigation.  
Public Methodstatic (Shared in Visual Basic)TryRedirectDomainTries to redirect the client to a domain specified in "Primary domain" settings under the current langauge area.  
Top
See Also

Reference

PageView Class
Dynamicweb.Frontend Namespace

Send Feedback