Ok, what you can do is have a protected string as a member var. of the
code-behind.
protected string sTitle = "";
In Page_Load or wherever you want, throw the logic in it to determine the
value of your title string.
if(Condition)
{
sTitle = "Title A";
}
else
{
sTitle = "Title B";
}
In the front-end .aspx page:
<title><%=sTitle%></title>
VS2003 mangles the HTML title element when moving between the designer and
code behind so all of those other comments have been proven risky and a PITA
to use. Thus, the better strategy is to use a Literal control in the <head>
element