Hi,
Göran Andersson wrote:
> <title><asp:Literal id="asdf" runat="server"/></title>
>
> asdf.Text = "First page";
I prefer this way:
<title runat="server" id="pageTitle">Default title</title>
and then:
HtmlGenericControl windowTitle
= FindControl( "title" ) as HtmlGenericControl;
if( windowTitle == null )
throw new ApplicationException( "..." );
windowTitle.InnerHtml = "My title";
HTH
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering:
http://www.galasoft-LB.ch
Private/Malaysia:
http://mypage.bluewin.ch/lbugnion
Support children in Calcutta:
http://www.calcutta-espoir.ch