Hi Luis,
In the aspx:
<head runat="server">
</head>
<body>
<form id="Form1" runat="server">
<atlas:ScriptManager ID="scriptManager" EnablePartialRendering="true" runat="server" />
<atlas:UpdatePanel ID="UpdatePanel2" runat="server" Mode="Always">
<ContentTemplate>
<asp:placeholder id="phContent" runat="server"></asp:placeholder><br />
</ContentTemplate>
</atlas:UpdatePanel>
</form>
</body>
</html>
In the CodeBehind:
protected override void OnPreRender(EventArgs e) {
if (PageName == null) {
Page.Header.Title = SiteStateController.Title;
} else {
Page.Header.Title = string.Format("{0} {1}", SiteStateController.Title, PageName);
}
base.OnPreRender(e);
}