Developer forum

Forum » Development » Pageview.Page where are the properties?

Pageview.Page where are the properties?


Reply

We need to change the title of a page codebehind like when using Page.Title in .net


However when we look at
 

Dw.Frontend.PageView.Current().Page in our ascx codebehind file , there are no properties only some random hashtable and set and get method.
 

Since we have noclue about what the properti is called since its not made as a properti its impossible for us to use it.

Could we get some documentation on this or maybe some properties in the API :)


Replies

 
Nicolai Høeg Pedersen
Reply

If you need to change the data in the database, that is persisting data, use Dynamicweb.Content.Page object.
 

If you want to change the Title run time for the frontend, use Pageview.Meta.Title.


Pageview.Page.Value("some") : it uses the names of the columns in the database. So Pageview.Page.Value("PageID") would give the value of that column and so on.

 

You must be logged in to post in the forum