However, I came across a situation where I was using a single page (product.aspx) to display any one of the products in my database and so I wanted to set the PageTitle dynamically to include the product name. To do so I added the following lines to Page_Load !IsPostBack on my inner page to set the Page.Title and save it in a ViewState to avoid it reverting to the default on postback: