Dynamic HTML title

try this:

set the title as a runat="server".

i.e. <title id="mytitle" runat="server">Title</title>

declare the variable in your code behind as:

protected System.Web.UI.HtmlControls.HtmlGenericControls myTitle;

then you can change the title with:

myTitle.InnerText = "whatever";

---------------------------------------------------
at least i think this will work
 
Back
Top