Dynamicweb 8 Documentation
PageView Class Methods


For a list of all members of this type, see PageView members.

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