Oops. I thought the HtmlGenericControl only affects tags in <body>.
Have learnt new thing now...
"Karl Seguin [MVP]" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME
net> ¼¶¼g©ó¶l¥ó·s»D: l...
>I use
> <title runat="server" id="title" />
>
> protected HtmlGenericControl title;
>
> title.InnerText = "whatever";
>
> Karl
> --
> http://www.openmymind.net/
>
>
>
> "Lau Lei Cheong" <> wrote in message
> news:...
>>I usually use <title><%= this._title %></title> to workaround. Just set
>>the _title(string type of course) to set the title of the page.
>>
>> This works because Render() is always the last method to run to the
>> cycle.
>>
>> In .NET 2.0, you can set the Page.Title property directly.
>>
>> "Michael Groeger" <> ¼¶¼g©ó¶l¥ó·s»D: l...
>>> Hi all,
>>>
>>> is there a way to change the title of a page dynamically from
>>> code-behind?
>>>
>>> Regards,
>>> Michael
>>>
>>>
>>
>>
>
>