Exciting news for me today, my blog has officially moved to http://julieturner.net. Please head on over and check it out! The Page will be automatically redirected in 5 seconds.
I'm currently dealing with a requirement where I need to the set an application page's title from the code behind.
By default the form has a ContentPlaceHolder control with a ContentPlaceHolderID="PlaceHolderPageTitle" which in the master page is the text that will fall in the header's title tag. Unfortunately, <asp:Content> controls are not added to the higherarchy at runtime so I can't access it directly.
protected void Page_Load(object sender, EventArgs e)
HtmlTitle tagTitle = new HtmlTitle();
//Obviously this would be more complex code in practice
tagTitle.Text = "My new title here";
//The parent of "PlaceHolderPageTitle" is the HtmlTitle control