Best way to control page titles on a large website in ASP.NET
We have a fairly large website with several master pages. Right now the titles are being controlled by Session variables in individual pages and set by the master page. The code is bad and needs to be redone. With the current system, since the master page is executed last, we can't completely overwrite the page title when needed from the page. What is the 开发者_StackOverflowbest way to create breadcrumbed page titles across a large site in ASP.NET with several master pages, without using Sessions variables? Session variables are bad for page titles mmmkkayy.
Setting the Page.Header.Title
property will set the page title, even with a masterpage.
精彩评论