Prova con: pagetitle.InnerText ="Titolo"

E questo nell'html:
<title id="pagetitle" runat="server"></title>